]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-yocto: add KBUILD_OUTPUT to OE_TERMINAL_EXPORTS
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 18 Jan 2013 05:19:28 +0000 (00:19 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Jan 2013 13:19:41 +0000 (13:19 +0000)
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 <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass

index 99b3a464a99a9f9c6e88c4110688d73155d3dabb..aaee441979570eff5e6b410496797acdbc52f798 100644 (file)
@@ -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}"