From d839236cafa924b0a0d8218199d2afe01f69942a Mon Sep 17 00:00:00 2001 From: Liu Ting-B28495 Date: Fri, 1 May 2015 23:54:01 +0800 Subject: 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 --- recipes-kernel/ceetm/ceetm_git.bb | 5 +++++ 1 file changed, 5 insertions(+) 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" EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" export KERNEL_PATH = "${STAGING_KERNEL_DIR}" +do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure_prepend () { + sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/ceetm_module/Makefile +} + do_install(){ mkdir -p ${D}/usr/driver/ceetm mkdir -p ${D}/${libdir}/tc -- cgit v1.2.3-54-g00ecf