summaryrefslogtreecommitdiffstats
path: root/meta/classes/nativesdk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-17 13:18:48 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:25:25 +0100
commit3fbbc44cfd0d68c67bda0f6180773922431cca0e (patch)
tree3323fd0f69941ea8036e5c01ac166fd7f608d656 /meta/classes/nativesdk.bbclass
parent1c1305d15ced383ff23ede8fa9117db75a61b8b9 (diff)
downloadpoky-3fbbc44cfd0d68c67bda0f6180773922431cca0e.tar.gz
nativesdk/package_ipk.bbclass: Clean up sdk package architectures
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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