diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-06-12 15:04:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-12 21:08:52 +0100 |
commit | 21bd096d6cbe7ce257d3b352e2a64c783e845d4d (patch) | |
tree | a6dd06a40e50868c8547792ac1fb311d29778e75 /meta/classes/multilib.bbclass | |
parent | 949cbf198c2b6ce326710cabf679b6a073fe661b (diff) | |
download | poky-21bd096d6cbe7ce257d3b352e2a64c783e845d4d.tar.gz |
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.
(From OE-Core rev: 8ed0cf040abbfb0999ac92b59ca9b7067d340202)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r-- | meta/classes/multilib.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 2b761f3551..7750221f7d 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -33,6 +33,8 @@ python multilib_virtclass_handler () { | |||
33 | e.data.setVar("MLPREFIX", variant + "-") | 33 | e.data.setVar("MLPREFIX", variant + "-") |
34 | e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False)) | 34 | e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False)) |
35 | e.data.setVar('SDKTARGETSYSROOT', e.data.getVar('SDKTARGETSYSROOT')) | 35 | e.data.setVar('SDKTARGETSYSROOT', e.data.getVar('SDKTARGETSYSROOT')) |
36 | override = ":virtclass-multilib-" + variant | ||
37 | e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override) | ||
36 | target_vendor = e.data.getVar("TARGET_VENDOR_" + "virtclass-multilib-" + variant, False) | 38 | target_vendor = e.data.getVar("TARGET_VENDOR_" + "virtclass-multilib-" + variant, False) |
37 | if target_vendor: | 39 | if target_vendor: |
38 | e.data.setVar("TARGET_VENDOR", target_vendor) | 40 | e.data.setVar("TARGET_VENDOR", target_vendor) |