summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@freescale.com>2015-07-17 13:36:44 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2015-07-22 17:37:55 +0800
commitb8d1bc6a24f71b4526396aae13467f16537874d1 (patch)
tree2014ca2f91ee53829c63c07d6456aac044dc30dd
parent30a0bef867f8d42d42c497479af321d6a9ffa1f0 (diff)
downloadmeta-fsl-ppc-b8d1bc6a24f71b4526396aae13467f16537874d1.tar.gz
asf: use KBUILD_OUTPUT to point to build-artifacts
In poky commit 46cdaf1, the kernel build output was put into kernel-build-artifacts, and kernel-source is kept "pristine". KERNEL_PATH points to kernel-source, while KBUILD_OUTPUT points to build-artifacts which can be used for external module build. asf Makefile tries to include the .config, use KBUILD_OUTPUT to avoid build error. It is needed to process all the Makefile with new revision. Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-kernel/asf/asf_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-kernel/asf/asf_git.bb b/recipes-kernel/asf/asf_git.bb
index 0263b05..6e25ecf 100644
--- a/recipes-kernel/asf/asf_git.bb
+++ b/recipes-kernel/asf/asf_git.bb
@@ -17,7 +17,8 @@ INHIBIT_PACKAGE_STRIP = "1"
17 17
18do_configure[depends] += "virtual/kernel:do_shared_workdir" 18do_configure[depends] += "virtual/kernel:do_shared_workdir"
19do_configure_prepend () { 19do_configure_prepend () {
20 sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/Makefile 20 find ${S} -name Makefile -exec \
21 sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' {} \;
21} 22}
22 23
23do_install(){ 24do_install(){