summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-06-16 11:25:53 +0000
committerRichard Purdie <richard@openedhand.com>2007-06-16 11:25:53 +0000
commitac63e5a3413914d60ae58e6a60ef1ba66d078c3b (patch)
tree2f5c5c1d9636d5e63ca02c73eddfc6a1b0d43914 /meta/classes
parentc866903e847b8b7475ccdab226ca0f060134b9c1 (diff)
downloadopenembedded-core-ac63e5a3413914d60ae58e6a60ef1ba66d078c3b.tar.gz
openembedded-core-ac63e5a3413914d60ae58e6a60ef1ba66d078c3b.tar.bz2
openembedded-core-ac63e5a3413914d60ae58e6a60ef1ba66d078c3b.tar.xz
openembedded-core-ac63e5a3413914d60ae58e6a60ef1ba66d078c3b.zip
sdk.bbclass: Set PACKAGE_ARCH to something suitable (update task-sdk, meta-toolchain)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1956 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sdk.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass
index 9024f3fda..545cfd20c 100644
--- a/meta/classes/sdk.bbclass
+++ b/meta/classes/sdk.bbclass
@@ -2,8 +2,10 @@
# or indirectly via dependency. No need to be in 'world'.
EXCLUDE_FROM_WORLD = "1"
-SDK_NAME = "poky/${TARGET_ARCH}"
-PACKAGE_ARCH = "${BUILD_ARCH}"
+SDK_NAME = "${DISTRO}/${TARGET_ARCH}"
+
+OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
+PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk"
HOST_ARCH = "${BUILD_ARCH}"
HOST_VENDOR = "${BUILD_VENDOR}"