summaryrefslogtreecommitdiffstats
path: root/meta/classes/libc-package.bbclass
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:09:21 +0100
commita08f8db7a486740e909733d861a50769cedd08c0 (patch)
treee82ca815ccd3b1f7d7fb40f3489b69085bc1e1d3 /meta/classes/libc-package.bbclass
parentaf2deca6ae8cc5abe4c0c1fe49e459e70e5ac6e1 (diff)
downloadpoky-a08f8db7a486740e909733d861a50769cedd08c0.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. (From OE-Core rev: c4a1989f3550e81f188b5789af2c4c18560c3656) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/libc-package.bbclass')
-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 2076aa1fb1..47be691e2d 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -363,8 +363,7 @@ python package_do_split_gconvs () {
363 m.write(cmd + ":\n") 363 m.write(cmd + ":\n")
364 m.write("\t" + commands[cmd] + "\n\n") 364 m.write("\t" + commands[cmd] + "\n\n")
365 m.close() 365 m.close()
366 d.setVar("B", os.path.dirname(makefile)) 366 d.setVar("EXTRA_OEMAKE", "-C %s ${PARALLEL_MAKE}" % (os.path.dirname(makefile)))
367 d.setVar("EXTRA_OEMAKE", "${PARALLEL_MAKE}")
368 bb.note("Executing binary locale generation makefile") 367 bb.note("Executing binary locale generation makefile")
369 bb.build.exec_func("oe_runmake", d) 368 bb.build.exec_func("oe_runmake", d)
370 bb.note("collecting binary locales from locale tree") 369 bb.note("collecting binary locales from locale tree")