diff options
author | Liu Ting-B28495 <ting.liu@freescale.com> | 2015-05-01 23:54:01 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-05-12 16:24:39 +0800 |
commit | d839236cafa924b0a0d8218199d2afe01f69942a (patch) | |
tree | f1622a6d8b18c9c206cdd66a51e9de267b4ee001 /recipes-kernel | |
parent | 92e6964c1364fe0c9ee680b0dfa585810b5125c0 (diff) | |
download | meta-fsl-ppc-d839236cafa924b0a0d8218199d2afe01f69942a.tar.gz |
ceetm: 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.
ceetm Makefile tries to include the .config, use KBUILD_OUTPUT to
avoid build error.
Signed-off-by: Liu Ting-B28495 <ting.liu@freescale.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/ceetm/ceetm_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb index 266261e..beaed31 100644 --- a/recipes-kernel/ceetm/ceetm_git.bb +++ b/recipes-kernel/ceetm/ceetm_git.bb | |||
@@ -14,6 +14,11 @@ S = "${WORKDIR}/git" | |||
14 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" | 14 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" |
15 | export KERNEL_PATH = "${STAGING_KERNEL_DIR}" | 15 | export KERNEL_PATH = "${STAGING_KERNEL_DIR}" |
16 | 16 | ||
17 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
18 | do_configure_prepend () { | ||
19 | sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/ceetm_module/Makefile | ||
20 | } | ||
21 | |||
17 | do_install(){ | 22 | do_install(){ |
18 | mkdir -p ${D}/usr/driver/ceetm | 23 | mkdir -p ${D}/usr/driver/ceetm |
19 | mkdir -p ${D}/${libdir}/tc | 24 | mkdir -p ${D}/${libdir}/tc |