How to cross-compile OpencryptoKi for yocto linux on imx6sl board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to cross-compile OpencryptoKi for yocto linux on imx6sl board?

1,090 Views
ashishsbn
Contributor I

Hi,

 

I am trying to cross compile opencryptoki for imx6sl board which is running yocto linux.

 

The Opencrypto project has numerous dirs, subdirs and makefiles.

I am using arm-poky-linux-gnueabi-gcc toolchain and setting path as:

 

export ARCH=arm

 

export PATH=$PATH:/home/ashish/Desktop/SDK/stct_iog1/source/yocto/build/tmp/sysroots/x86_64-linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-gnueabi

 

export CROSS_COMPILE=arm-poky-linux-gnueabi-

How can i set flags to use existing makefiles.
Any ideas ,  already cross compiled opencrypto for another target are welcome.

Opencrypto makefile from top directory looks like this:

if ENABLE_TESTCASES
TESTDIR = testcases
endif
if ENABLE_LIBRARY
MISCDIR = misc
endif
if ENABLE_DAEMON
MISCDIR = misc
endif

SUBDIRS = usr man $(MISCDIR) $(TESTDIR)



PLease help here.


Thanks
Ashish S

Original Attachment has been moved to: opencryptoki-master.zip

Labels (4)
0 Kudos
1 Reply

786 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

OpencryptoKi  is part of the meta-security layer in the Yocto community bsp, please check it:

OpenEmbedded Layer Index - recipes 

meta-security - Security tools for Internet connected devices 

regards

0 Kudos