mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
af2deca6ae
commit
a08f8db7a4
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user