[oe-commits] [openembedded-core] branch morty-next updated: fixup 3

git at git.openembedded.org git at git.openembedded.org
Sat Mar 17 18:16:38 UTC 2018


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

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

The following commit(s) were added to refs/heads/morty-next by this push:
     new d0838bf  fixup 3
d0838bf is described below

commit d0838bfcd00d3a83f51e4dde676e6d213c27ecac
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Mar 17 19:16:01 2018 +0100

    fixup 3
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/sdk.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index beb5602..c5098a9 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -10,7 +10,7 @@ import traceback
 def generate_locale_archive(d, rootfs):
     # Pretty sure we don't need this for SDK archive generation but
     # keeping it to be safe...
-    target_arch = d.getVar('SDK_ARCH')
+    target_arch = d.getVar('SDK_ARCH', True)
     locale_arch_options = { \
         "arm": ["--uint32-align=4", "--little-endian"],
         "armeb": ["--uint32-align=4", "--big-endian"],
@@ -37,7 +37,7 @@ def generate_locale_archive(d, rootfs):
         bb.error("locale_arch_options not found for target_arch=" + target_arch)
         bb.fatal("unknown arch:" + target_arch + " for locale_arch_options")
 
-    localedir = oe.path.join(rootfs, d.getVar("libdir_nativesdk"), "locale")
+    localedir = oe.path.join(rootfs, d.getVar("libdir_nativesdk", True), "locale")
     # Need to set this so cross-localedef knows where the archive is
     env = dict(os.environ)
     env["LOCALEARCHIVE"] = oe.path.join(localedir, "locale-archive")

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


More information about the Openembedded-commits mailing list