diff options
author | Liu Ting-B28495 <ting.liu@freescale.com> | 2015-05-13 18:15:51 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-05-20 12:06:17 +0800 |
commit | 36bd6ce8c63b8876c96fc1cd50e43863cdc2e44e (patch) | |
tree | 5c94965be693605957f8955f5d305a0067b3ae30 | |
parent | 4aa8a8416892f2f7a0c0a811273aa75bd86837ed (diff) | |
download | meta-fsl-ppc-36bd6ce8c63b8876c96fc1cd50e43863cdc2e44e.tar.gz |
auto-resp: fix the include path to private headers
When building external module, $(PWD) is the root of the kernel tree.
Signed-off-by: Liu Ting-B28495 <ting.liu@freescale.com>
-rw-r--r-- | recipes-kernel/auto-resp/ar_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
14 | 14 | ||
15 | INHIBIT_PACKAGE_STRIP = "1" | 15 | INHIBIT_PACKAGE_STRIP = "1" |
16 | 16 | ||
17 | do_compile_prepend() { | ||
18 | sed -i -e 's,EXTRA_CFLAGS += -I$(PWD),EXTRA_CFLAGS += -I${S},' ${S}/armodule/source/Makefile | ||
19 | } | ||
20 | |||
17 | do_install(){ | 21 | do_install(){ |
18 | install -d ${D}/lib/modules/${KERNEL_VERSION} | 22 | install -d ${D}/lib/modules/${KERNEL_VERSION} |
19 | install -d ${D}${bindir} | 23 | install -d ${D}${bindir} |