summaryrefslogtreecommitdiff
path: root/classes/sdk.bbclass
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-10-07 23:43:18 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-10-07 23:43:18 +0000
commitea83ce724eaa0cbb5caf93ee90c60a7c1f89feef (patch)
tree7814962955a52571764971c4eb12c090d7873c6f /classes/sdk.bbclass
parentc3360f247a6439638edfb05dea1848a9c8a540fb (diff)
parentd9aa48e8ac4c98bb5704445ccd6d3a8ed95984b5 (diff)
merge of '414c6691b908eaab89fe4400b49ebf0e8d47aaad'
and 'e17edbd4fcc354c30505a8c14cdc5944260864f7'
Diffstat (limited to 'classes/sdk.bbclass')
-rw-r--r--classes/sdk.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/classes/sdk.bbclass b/classes/sdk.bbclass
index a94332b92c..6c66eac7ad 100644
--- a/classes/sdk.bbclass
+++ b/classes/sdk.bbclass
@@ -2,15 +2,24 @@
# 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}"
HOST_OS = "${BUILD_OS}"
HOST_PREFIX = "${BUILD_PREFIX}"
HOST_CC_ARCH = "${BUILD_CC_ARCH}"
+#HOST_SYS = "${HOST_ARCH}${TARGET_VENDOR}-${HOST_OS}"
CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"