From 4aa8a8416892f2f7a0c0a811273aa75bd86837ed Mon Sep 17 00:00:00 2001 From: Liu Ting-B28495 Date: Wed, 13 May 2015 18:15:50 +0800 Subject: ipc: 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. ipc Makefile tries to include the .config, use KBUILD_OUTPUT to avoid build error. Signed-off-by: Liu Ting-B28495 --- recipes-kernel/ipc/ipc-modules.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-kernel/ipc/ipc-modules.inc b/recipes-kernel/ipc/ipc-modules.inc index e403e6b..79ba7ef 100644 --- a/recipes-kernel/ipc/ipc-modules.inc +++ b/recipes-kernel/ipc/ipc-modules.inc @@ -9,6 +9,11 @@ inherit module qoriq_build_64bit_kernel S = "${WORKDIR}/git" +do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure_prepend() { + sed -i 's,$(KERNEL_DIR)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/kernel/Makefile +} + do_compile_prepend () { cd ${S}/kernel case ${MACHINE} in -- cgit v1.2.3-54-g00ecf