diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-01-18 00:19:28 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-18 13:28:09 +0000 |
commit | 486e19d180ae8bfc2693e090f2cd393ebfa86145 (patch) | |
tree | 9cdddaea6c33a1f36dd8853fb108251d378266ea /meta/classes/kernel-yocto.bbclass | |
parent | 28fb81ab56fda2c2ef5b7c8f84610a35efcdaba6 (diff) | |
download | poky-486e19d180ae8bfc2693e090f2cd393ebfa86145.tar.gz |
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).
(From OE-Core rev: 88f88a22dfa730161168b0f228e3954178b74c6a)
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.bbclass | 3 |
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() { | |||
340 | ln -sf ../../../vmlinux | 340 | ln -sf ../../../vmlinux |
341 | } | 341 | } |
342 | 342 | ||
343 | OE_TERMINAL_EXPORTS += "GUILT_BASE" | 343 | OE_TERMINAL_EXPORTS += "GUILT_BASE KBUILD_OUTPUT" |
344 | GUILT_BASE = "meta" | 344 | GUILT_BASE = "meta" |
345 | KBUILD_OUTPUT = "${B}" | ||