diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-07-17 13:36:44 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-28 23:26:57 -0300 |
commit | 551618328636c4fa5b008d0c7546f03dfeabf554 (patch) | |
tree | b88e359fecf1a37aae3d81f2196d751720c87cef | |
parent | 92735f5b5833243ef9d9eb2e4d13147948a0b74b (diff) | |
download | meta-freescale-551618328636c4fa5b008d0c7546f03dfeabf554.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>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | meta-fsl-ppc/recipes-kernel/asf/asf_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb b/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb index 0263b058..6e25ecf5 100644 --- a/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb +++ b/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb | |||
@@ -17,7 +17,8 @@ INHIBIT_PACKAGE_STRIP = "1" | |||
17 | 17 | ||
18 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 18 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
19 | do_configure_prepend () { | 19 | do_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 | ||
23 | do_install(){ | 24 | do_install(){ |