[oe-commits] Koen Kooi : ti-ocf-crypto-module: remove hardcodes from makefile

git version control git at git.openembedded.org
Thu Jan 6 16:15:50 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0d63bd4a601342e25da0a3c8dc2cfeff2d9546e4
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0d63bd4a601342e25da0a3c8dc2cfeff2d9546e4

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Jan  6 17:12:34 2011 +0100

ti-ocf-crypto-module: remove hardcodes from makefile

Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 recipes/ti/ti-ocf-crypto-module_1.0.bb |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/recipes/ti/ti-ocf-crypto-module_1.0.bb b/recipes/ti/ti-ocf-crypto-module_1.0.bb
index 3f8f248..92c6cb0 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/





More information about the Openembedded-commits mailing list