summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sdk.bbclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/sdk.bbclass b/meta/classes/sdk.bbclass
index f01c3b7afe..766d513efd 100644
--- a/meta/classes/sdk.bbclass
+++ b/meta/classes/sdk.bbclass
@@ -2,9 +2,17 @@
2# or indirectly via dependency. No need to be in 'world'. 2# or indirectly via dependency. No need to be in 'world'.
3EXCLUDE_FROM_WORLD = "1" 3EXCLUDE_FROM_WORLD = "1"
4 4
5# Save MULTIMACH_ARCH
6OLD_MULTIMACH_ARCH := "${MULTIMACH_ARCH}"
7# Save PACKAGE_ARCH
5OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} 8OLD_PACKAGE_ARCH := ${PACKAGE_ARCH}
6PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" 9PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk"
10# Also save BASE_PACKAGE_ARCH since HOST_ARCH can influence it
11OLD_BASE_PACKAGE_ARCH := "${BASE_PACKAGE_ARCH}"
12BASE_PACKAGE_ARCH = "${OLD_BASE_PACKAGE_ARCH}"
13
7STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk" 14STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk"
15STAGING_DIR_TARGET = "${STAGING_DIR}/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
8 16
9HOST_ARCH = "${BUILD_ARCH}" 17HOST_ARCH = "${BUILD_ARCH}"
10HOST_VENDOR = "${BUILD_VENDOR}" 18HOST_VENDOR = "${BUILD_VENDOR}"