[oe-commits] [openembedded-core] 03/06: multilib: add override for image recipe

git at git.openembedded.org git at git.openembedded.org
Wed Jun 12 20:09:27 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 8ed0cf040abbfb0999ac92b59ca9b7067d340202
Author: Changqing Li <changqing.li at windriver.com>
AuthorDate: Wed Jun 12 15:04:05 2019 +0800

    multilib: add override for image recipe
    MACHINE set to qemux86-64
    for lib32-core-image-sato, during do_rootfs, it will run
    install_complementary, which will get localedir by
    d.getVar("libdir"), without override, libdir will still be
    lib64. add override to fix it.
    Signed-off-by: Changqing Li <changqing.li at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 meta/classes/multilib.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 2b761f3..7750221 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -33,6 +33,8 @@ python multilib_virtclass_handler () {
         e.data.setVar("MLPREFIX", variant + "-")
         e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False))
         e.data.setVar('SDKTARGETSYSROOT', e.data.getVar('SDKTARGETSYSROOT'))
+        override = ":virtclass-multilib-" + variant
+        e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override)
         target_vendor = e.data.getVar("TARGET_VENDOR_" + "virtclass-multilib-" + variant, False)
         if target_vendor:
             e.data.setVar("TARGET_VENDOR", target_vendor)

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list