[oe-commits] Ross Burton : libc-package: don't abuse B to change directory
git at git.openembedded.org
git at git.openembedded.org
Thu Jul 16 14:10:16 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: c4a1989f3550e81f188b5789af2c4c18560c3656
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c4a1989f3550e81f188b5789af2c4c18560c3656
Author: Ross Burton <ross.burton at intel.com>
Date: Wed Jul 8 11:22:50 2015 +0100
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 at intel.com>
---
meta/classes/libc-package.bbclass | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 2076aa1..47be691 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")
More information about the Openembedded-commits
mailing list