diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-17 19:16:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-04 11:06:55 +0100 |
commit | ce16d68962c36869048145799f8e6008b5929b3c (patch) | |
tree | 4801b8d811c445ca6397b5ff525d879293a7713c /meta/lib/oe | |
parent | b509670c3348b4e32ef205f7f29ea7c07a0e95bd (diff) | |
download | poky-ce16d68962c36869048145799f8e6008b5929b3c.tar.gz |
fixup 3
(From OE-Core rev: 0eb9efa3b1f3f850b51a743fdc82495614289c87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/sdk.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index beb56022a8..c5098a9f3c 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py | |||
@@ -10,7 +10,7 @@ import traceback | |||
10 | def generate_locale_archive(d, rootfs): | 10 | def generate_locale_archive(d, rootfs): |
11 | # Pretty sure we don't need this for SDK archive generation but | 11 | # Pretty sure we don't need this for SDK archive generation but |
12 | # keeping it to be safe... | 12 | # keeping it to be safe... |
13 | target_arch = d.getVar('SDK_ARCH') | 13 | target_arch = d.getVar('SDK_ARCH', True) |
14 | locale_arch_options = { \ | 14 | locale_arch_options = { \ |
15 | "arm": ["--uint32-align=4", "--little-endian"], | 15 | "arm": ["--uint32-align=4", "--little-endian"], |
16 | "armeb": ["--uint32-align=4", "--big-endian"], | 16 | "armeb": ["--uint32-align=4", "--big-endian"], |
@@ -37,7 +37,7 @@ def generate_locale_archive(d, rootfs): | |||
37 | bb.error("locale_arch_options not found for target_arch=" + target_arch) | 37 | bb.error("locale_arch_options not found for target_arch=" + target_arch) |
38 | bb.fatal("unknown arch:" + target_arch + " for locale_arch_options") | 38 | bb.fatal("unknown arch:" + target_arch + " for locale_arch_options") |
39 | 39 | ||
40 | localedir = oe.path.join(rootfs, d.getVar("libdir_nativesdk"), "locale") | 40 | localedir = oe.path.join(rootfs, d.getVar("libdir_nativesdk", True), "locale") |
41 | # Need to set this so cross-localedef knows where the archive is | 41 | # Need to set this so cross-localedef knows where the archive is |
42 | env = dict(os.environ) | 42 | env = dict(os.environ) |
43 | env["LOCALEARCHIVE"] = oe.path.join(localedir, "locale-archive") | 43 | env["LOCALEARCHIVE"] = oe.path.join(localedir, "locale-archive") |