Relying on exec_func() doing a mkdir and chdir if you set ${B} is obscure,
instead just pass -C <dir> to oe_runmake.Signed-off-by: Ross Burton <[email protected]> --- 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..21c6b43 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -363,10 +363,9 @@ 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}") bb.note("Executing binary locale generation makefile") - bb.build.exec_func("oe_runmake", d) + bb.build.exec_func("oe_runmake", d, [os.path.dirname(makefile),]) bb.note("collecting binary locales from locale tree") bb.build.exec_func("do_collect_bins_from_locale_tree", d) do_split_packages(d, binary_locales_dir, file_regex='(.*)', \ -- 2.1.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
