[meta-freescale] [meta-fsl-ppc][PATCH 2/2] auto-resp: fix the include path to private headers
ting.liu at freescale.com
ting.liu at freescale.com
Wed May 13 03:15:51 PDT 2015
From: Liu Ting-B28495 <ting.liu at freescale.com>
When building external module, $(PWD) is the root of the kernel tree.
Signed-off-by: Liu Ting-B28495 <ting.liu at freescale.com>
---
recipes-kernel/auto-resp/ar_git.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/recipes-kernel/auto-resp/ar_git.bb b/recipes-kernel/auto-resp/ar_git.bb
index 81a94a0..52d9f57 100644
--- a/recipes-kernel/auto-resp/ar_git.bb
+++ b/recipes-kernel/auto-resp/ar_git.bb
@@ -14,6 +14,10 @@ export KERNEL_PATH
INHIBIT_PACKAGE_STRIP = "1"
+do_compile_prepend() {
+ sed -i -e 's,EXTRA_CFLAGS += -I$(PWD),EXTRA_CFLAGS += -I${S},' ${S}/armodule/source/Makefile
+}
+
do_install(){
install -d ${D}/lib/modules/${KERNEL_VERSION}
install -d ${D}${bindir}
--
1.9.1
More information about the meta-freescale
mailing list