On Mon, Jul 13, 2015 at 7:03 AM, Ross Burton <[email protected]> wrote:

> 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='(.*)', \
>

This says you’re passing -C <dir> to oe_runmake, but actually passes the
dir as dirs for exec_func.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to