diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-19 21:53:32 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-19 21:53:32 +0000 |
commit | 110830ddcb4b9e3b28cd5b717a1b003e3085b9c3 (patch) | |
tree | 83df07001edd470860bb9560a08b209d9b65c999 | |
parent | fc128ab1e4fec27d44cebfa690a9bc233eda0caf (diff) | |
download | openembedded-core-110830ddcb4b9e3b28cd5b717a1b003e3085b9c3.tar.gz openembedded-core-110830ddcb4b9e3b28cd5b717a1b003e3085b9c3.tar.bz2 openembedded-core-110830ddcb4b9e3b28cd5b717a1b003e3085b9c3.tar.xz openembedded-core-110830ddcb4b9e3b28cd5b717a1b003e3085b9c3.zip |
sdk.bbclass Fix after the staging layout changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4897 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/classes/sdk.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass index f01c3b7af..766d513ef 100644 --- a/meta/classes/sdk.bbclass +++ b/meta/classes/sdk.bbclass @@ -2,9 +2,17 @@ # or indirectly via dependency. No need to be in 'world'. EXCLUDE_FROM_WORLD = "1" +# Save MULTIMACH_ARCH +OLD_MULTIMACH_ARCH := "${MULTIMACH_ARCH}" +# Save PACKAGE_ARCH OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" +# Also save BASE_PACKAGE_ARCH since HOST_ARCH can influence it +OLD_BASE_PACKAGE_ARCH := "${BASE_PACKAGE_ARCH}" +BASE_PACKAGE_ARCH = "${OLD_BASE_PACKAGE_ARCH}" + STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk" +STAGING_DIR_TARGET = "${STAGING_DIR}/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}" HOST_ARCH = "${BUILD_ARCH}" HOST_VENDOR = "${BUILD_VENDOR}" |