aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-08 11:22:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-16 15:08:44 +0100
commitc4a1989f3550e81f188b5789af2c4c18560c3656 (patch)
treec6c65dbd44b0fd8bdf3a2031f1f7aace6731a3af /meta/classes
parentd9941a2d9b423af2ca3313e8c1357ccfcc9a96a5 (diff)
downloadopenembedded-core-contrib-c4a1989f3550e81f188b5789af2c4c18560c3656.tar.gz
libc-package: don't abuse B to change directory
Currently if exec_func() isn't told what directories to create and change to, it uses B. This is not obvious and may be changed in the future. Instead, pass -C<dir> to oe_runmake. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/libc-package.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 2076aa1fb1b..47be691e2df 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -363,8 +363,7 @@ python package_do_split_gconvs () {
m.write(cmd + ":\n")
m.write("\t" + commands[cmd] + "\n\n")
m.close()
- d.setVar("B", os.path.dirname(makefile))
- d.setVar("EXTRA_OEMAKE", "${PARALLEL_MAKE}")
+ d.setVar("EXTRA_OEMAKE", "-C %s ${PARALLEL_MAKE}" % (os.path.dirname(makefile)))
bb.note("Executing binary locale generation makefile")
bb.build.exec_func("oe_runmake", d)
bb.note("collecting binary locales from locale tree")