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-20 17:08:58 +0800
commit1e142e989b2f54ca109acaa23f4ba7b3052655e6 (patch)
tree135d31f06591d285e0d50a3f2ace857a0449a34c
parent57b1e26fb337323d10c09600ac0f26d76ed402d7 (diff)
downloadmeta-fsl-ppc-1e142e989b2f54ca109acaa23f4ba7b3052655e6.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(){