summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-01-18 00:19:28 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-18 13:19:41 +0000
commit88f88a22dfa730161168b0f228e3954178b74c6a (patch)
tree5f9239cc03ad218e6eb1001d45ba006f4e4b6e1f /meta/classes/kernel-yocto.bbclass
parent1acf3ad17bbc1cdcad31c243b7b50daaea99ee7a (diff)
downloadopenembedded-core-88f88a22dfa730161168b0f228e3954178b74c6a.tar.gz
openembedded-core-88f88a22dfa730161168b0f228e3954178b74c6a.tar.bz2
openembedded-core-88f88a22dfa730161168b0f228e3954178b74c6a.zip
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 <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r--meta/classes/kernel-yocto.bbclass3
1 files changed, 2 insertions, 1 deletions
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}"