From c4a1989f3550e81f188b5789af2c4c18560c3656 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 8 Jul 2015 11:22:50 +0100 Subject: 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 to oe_runmake. Signed-off-by: Ross Burton --- meta/classes/libc-package.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/classes/libc-package.bbclass') 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") -- cgit 1.2.3-korg