]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-yocto: export GUILT_BASE to devshell
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 8 May 2012 19:10:17 +0000 (15:10 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 May 2012 22:23:27 +0000 (23:23 +0100)
One of the patch backends to linux-yocto is guilt, which normally
tracks patches under .git. But .git isn't something that can be
checked into a SCM and repeated. So it has been moved under meta/patches
and committed to the meta branch.

If devshell is used, GUILT_BASE isn't set, so patch manipulations will
fail. We export GUILT_BASE and point it at the meta directory when
devshell is invoked for linux-yocto.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass

index c6425b2b692fc8684a54f4dc528ce1ad7f656bc6..e931630510ed3ee6c708542f3ba458e3047fbc74 100644 (file)
@@ -290,4 +290,5 @@ do_kernel_link_vmlinux() {
        ln -sf ../../../vmlinux
 }
 
-
+OE_TERMINAL_EXPORTS += "GUILT_BASE"
+GUILT_BASE = "meta"