summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-3fbbc44cfd0d68c67bda0f6180773922431cca0e.tar.gz
openembedded-core-3fbbc44cfd0d68c67bda0f6180773922431cca0e.tar.bz2
openembedded-core-3fbbc44cfd0d68c67bda0f6180773922431cca0e.tar.xz
openembedded-core-3fbbc44cfd0d68c67bda0f6180773922431cca0e.zip
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 964d39955..b0273ace0 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -6,13 +6,12 @@ EXCLUDE_FROM_WORLD = "1"
# Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS
#
OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH}
-BASE_PACKAGE_ARCH = "${HOST_ARCH}-${OLD_PACKAGE_ARCH}-nativesdk"
+BASE_PACKAGE_ARCH = "${SDK_ARCH}-nativesdk"
python () {
- barch = bb.data.getVar('HOST_ARCH', d, True)
archs = bb.data.getVar('PACKAGE_ARCHS', d, True).split()
sdkarchs = []
for arch in archs:
- sdkarchs.append(barch + '-' + arch + '-nativesdk')
+ sdkarchs.append(arch + '-nativesdk')
bb.data.setVar('PACKAGE_ARCHS', " ".join(sdkarchs), d)
}