summaryrefslogtreecommitdiffstats
path: root/meta-fsl-ppc
diff options
context:
space:
mode:
authorLiu Ting-B28495 <ting.liu@freescale.com>2015-05-13 18:15:51 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2015-05-20 12:06:17 +0800
commit60ecf4f21bb60a1c83a194b6799f56dcaf094f1b (patch)
treef716ccf9889675995bef28aab2db9af5f3806542 /meta-fsl-ppc
parent8dcb3bb6595b8930039d94456f63fbbef490b02a (diff)
downloadmeta-freescale-60ecf4f21bb60a1c83a194b6799f56dcaf094f1b.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>
Diffstat (limited to 'meta-fsl-ppc')
-rw-r--r--meta-fsl-ppc/recipes-kernel/auto-resp/ar_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-fsl-ppc/recipes-kernel/auto-resp/ar_git.bb b/meta-fsl-ppc/recipes-kernel/auto-resp/ar_git.bb
index 81a94a04..52d9f57d 100644
--- a/meta-fsl-ppc/recipes-kernel/auto-resp/ar_git.bb
+++ b/meta-fsl-ppc/recipes-kernel/auto-resp/ar_git.bb
@@ -14,6 +14,10 @@ export KERNEL_PATH
14 14
15INHIBIT_PACKAGE_STRIP = "1" 15INHIBIT_PACKAGE_STRIP = "1"
16 16
17do_compile_prepend() {
18 sed -i -e 's,EXTRA_CFLAGS += -I$(PWD),EXTRA_CFLAGS += -I${S},' ${S}/armodule/source/Makefile
19}
20
17do_install(){ 21do_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}