From: Koen Kooi Date: Thu, 6 Jan 2011 16:12:34 +0000 (+0100) Subject: ti-ocf-crypto-module: remove hardcodes from makefile X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d63bd4a601342e25da0a3c8dc2cfeff2d9546e4;p=openembedded.git ti-ocf-crypto-module: remove hardcodes from makefile Signed-off-by: Koen Kooi --- diff --git a/recipes/ti/ti-ocf-crypto-module_1.0.bb b/recipes/ti/ti-ocf-crypto-module_1.0.bb index 3f8f248d2e..92c6cb047c 100644 --- a/recipes/ti/ti-ocf-crypto-module_1.0.bb +++ b/recipes/ti/ti-ocf-crypto-module_1.0.bb @@ -17,6 +17,11 @@ inherit module PR = "${MACHINE_KERNEL_PR}+svnr${SRCPV}" +# Fix silly hardcodes, module.bbclass puts in the *correct* values +do_compile_prepend() { + sed -i 's:ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-::g' Makefile +} + do_install () { install -d ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/ install -m 0755 ${S}/ocf_omap3_cryptok.ko ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/