From: Bruce Ashfield Date: Fri, 18 Jan 2013 05:19:28 +0000 (-0500) Subject: kernel-yocto: add KBUILD_OUTPUT to OE_TERMINAL_EXPORTS X-Git-Tag: 2015-4~7972 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=88f88a22dfa730161168b0f228e3954178b74c6a;p=openembedded-core.git kernel-yocto: add KBUILD_OUTPUT to OE_TERMINAL_EXPORTS 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 99b3a464a9..aaee441979 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}"