summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2016-07-21 12:09:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-26 08:56:30 +0100
commit71d0c871c991fc4959fa5b5e7ccbcbf140fa16b3 (patch)
treebc26c222c74acb1cc8e52713273ae426092646be
parent4858c6b728e0ed525f6ce5a30c79024c00b70575 (diff)
downloadpoky-71d0c871c991fc4959fa5b5e7ccbcbf140fa16b3.tar.gz
kernel.bbclass: explicitly set workdir in do_bundle_initramfs
bitbake rev 67a7b8b02 "build: don't use $B as the default cwd for functions" (included in current bitbake master) breaks the assumption that do_bundle_initramfs runs inside the build directory. This causes kernel_do_compile() as called from within do_bundle_initramfs() to fail, as the former is not being executed from the correct directory anymore. (Note that kernel_do_compile() as called from bitbake directly doesn't suffer from that problem, as it inherits the workdir from base_do_compile() in that case.) Set workdir explicitly. (From OE-Core rev: 4455da22a151c2ac006af63cbd39779b21b12580) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index a56b66b291..fa76a14863 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -246,6 +246,7 @@ do_bundle_initramfs () {
246 done 246 done
247 fi 247 fi
248} 248}
249do_bundle_initramfs[dirs] = "${B}"
249 250
250python do_devshell_prepend () { 251python do_devshell_prepend () {
251 os.environ["LDFLAGS"] = '' 252 os.environ["LDFLAGS"] = ''