From ac63e5a3413914d60ae58e6a60ef1ba66d078c3b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 16 Jun 2007 11:25:53 +0000 Subject: 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 --- meta/classes/sdk.bbclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'meta/classes') 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}" -- cgit v1.2.3