From 0d63bd4a601342e25da0a3c8dc2cfeff2d9546e4 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 6 Jan 2011 17:12:34 +0100 Subject: ti-ocf-crypto-module: remove hardcodes from makefile Signed-off-by: Koen Kooi --- recipes/ti/ti-ocf-crypto-module_1.0.bb | 5 +++++ 1 file changed, 5 insertions(+) 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/ -- cgit 1.2.3-korg