diff options
Diffstat (limited to 'meta/classes/nativesdk.bbclass')
-rw-r--r-- | meta/classes/nativesdk.bbclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 964d39955b..b0273ace0f 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass | |||
@@ -6,13 +6,12 @@ EXCLUDE_FROM_WORLD = "1" | |||
6 | # Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS | 6 | # Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS |
7 | # | 7 | # |
8 | OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH} | 8 | OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH} |
9 | BASE_PACKAGE_ARCH = "${HOST_ARCH}-${OLD_PACKAGE_ARCH}-nativesdk" | 9 | BASE_PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" |
10 | python () { | 10 | python () { |
11 | barch = bb.data.getVar('HOST_ARCH', d, True) | ||
12 | archs = bb.data.getVar('PACKAGE_ARCHS', d, True).split() | 11 | archs = bb.data.getVar('PACKAGE_ARCHS', d, True).split() |
13 | sdkarchs = [] | 12 | sdkarchs = [] |
14 | for arch in archs: | 13 | for arch in archs: |
15 | sdkarchs.append(barch + '-' + arch + '-nativesdk') | 14 | sdkarchs.append(arch + '-nativesdk') |
16 | bb.data.setVar('PACKAGE_ARCHS', " ".join(sdkarchs), d) | 15 | bb.data.setVar('PACKAGE_ARCHS', " ".join(sdkarchs), d) |
17 | } | 16 | } |
18 | 17 | ||