diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-07-10 17:45:18 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-13 14:00:59 -0300 |
commit | 7b90d509b6485b4a2236fb29e46dc9a21761c5a0 (patch) | |
tree | d00219cf60b74cd51151327bb267359172c5864b | |
parent | 191c294ff70fcd47b7b679eadb8c1f5210e618cb (diff) | |
download | meta-freescale-7b90d509b6485b4a2236fb29e46dc9a21761c5a0.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.
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb b/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb index bc8dcbc4..7cf8f57a 100644 --- a/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb +++ b/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb | |||
@@ -15,6 +15,12 @@ export KERNEL_PATH = "${STAGING_KERNEL_DIR}" | |||
15 | 15 | ||
16 | INHIBIT_PACKAGE_STRIP = "1" | 16 | INHIBIT_PACKAGE_STRIP = "1" |
17 | 17 | ||
18 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
19 | do_configure_prepend () { | ||
20 | find ${S} -name Makefile -exec \ | ||
21 | sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' {} \; | ||
22 | } | ||
23 | |||
18 | do_install(){ | 24 | do_install(){ |
19 | mkdir -p ${D}/${libexecdir} | 25 | mkdir -p ${D}/${libexecdir} |
20 | mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/asf | 26 | mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/asf |