diff options
author | Ross Burton <ross.burton@intel.com> | 2015-07-08 11:22:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:09:21 +0100 |
commit | a08f8db7a486740e909733d861a50769cedd08c0 (patch) | |
tree | e82ca815ccd3b1f7d7fb40f3489b69085bc1e1d3 | |
parent | af2deca6ae8cc5abe4c0c1fe49e459e70e5ac6e1 (diff) | |
download | openembedded-core-contrib-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>
-rw-r--r-- | meta/classes/libc-package.bbclass | 3 |
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 () { 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") |