[oe-commits] Bruce Ashfield : kernel-yocto: add KBUILD_OUTPUT to OE_TERMINAL_EXPORTS
git at git.openembedded.org
git at git.openembedded.org
Sun Jan 20 13:18:11 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 88f88a22dfa730161168b0f228e3954178b74c6a
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=88f88a22dfa730161168b0f228e3954178b74c6a
Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date: Fri Jan 18 00:19:28 2013 -0500
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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 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}"
More information about the Openembedded-commits
mailing list