AnsweredAssumed Answered

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

Question asked by ASHISH SHARMA on Jan 23, 2017

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

Outcomes