git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ff1afa
)
ti-pru-sw-edma-driver: remove hardcodes from makefile
author
Koen Kooi
<koen@openembedded.org>
Sat, 8 Jan 2011 09:25:38 +0000
(10:25 +0100)
committer
Koen Kooi
<koen@openembedded.org>
Sat, 8 Jan 2011 09:25:38 +0000
(10:25 +0100)
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb
patch
|
blob
|
history
diff --git
a/recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb
b/recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb
index
5747f3d
..
1d3676f
100644
(file)
--- a/
recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb
+++ b/
recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb
@@
-14,6
+14,11
@@
PACKAGE_STRIP = "no"
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=$(CSTOOL_PREFIX)::g' Makefile
+}
+
do_install () {
install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru
install -m 0755 ${S}/edmautils.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/