summaryrefslogtreecommitdiffstats
path: root/meta/classes/nativesdk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/nativesdk.bbclass')
-rw-r--r--meta/classes/nativesdk.bbclass5
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#
8OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH} 8OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH}
9BASE_PACKAGE_ARCH = "${HOST_ARCH}-${OLD_PACKAGE_ARCH}-nativesdk" 9BASE_PACKAGE_ARCH = "${SDK_ARCH}-nativesdk"
10python () { 10python () {
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