From patchwork Fri Jan 18 05:19:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/7] kernel-yocto: add KBUILD_OUTPUT to OE_TERMINAL_EXPORTS Date: Fri, 18 Jan 2013 05:19:28 -0000 From: Bruce Ashfield X-Patchwork-Id: 42843 Message-Id: To: richard.purdie@linuxfoundation.org Cc: linux-yocto@yoctoproject.org, openembedded-core@lists.openembedded.org Since linux-yocto based recipes have a split build and source directory, we should export KBUILD=${B} to the devshell. This allows the kernel to be incrementally build within the shell and not dirty the source directory (which breaks subsequent full builds). Signed-off-by: Bruce Ashfield --- meta/classes/kernel-yocto.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 99b3a46..aaee441 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass @@ -340,5 +340,6 @@ do_kernel_link_vmlinux() { ln -sf ../../../vmlinux } -OE_TERMINAL_EXPORTS += "GUILT_BASE" +OE_TERMINAL_EXPORTS += "GUILT_BASE KBUILD_OUTPUT" GUILT_BASE = "meta" +KBUILD_OUTPUT = "${B}"