diff options
Diffstat (limited to 'meta')
-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 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'. |
3 | EXCLUDE_FROM_WORLD = "1" | 3 | EXCLUDE_FROM_WORLD = "1" |
4 | 4 | ||
5 | # Save MULTIMACH_ARCH | ||
6 | OLD_MULTIMACH_ARCH := "${MULTIMACH_ARCH}" | ||
7 | # Save PACKAGE_ARCH | ||
5 | OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} | 8 | OLD_PACKAGE_ARCH := ${PACKAGE_ARCH} |
6 | PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" | 9 | PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk" |
10 | # Also save BASE_PACKAGE_ARCH since HOST_ARCH can influence it | ||
11 | OLD_BASE_PACKAGE_ARCH := "${BASE_PACKAGE_ARCH}" | ||
12 | BASE_PACKAGE_ARCH = "${OLD_BASE_PACKAGE_ARCH}" | ||
13 | |||
7 | STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk" | 14 | STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-sdk" |
15 | STAGING_DIR_TARGET = "${STAGING_DIR}/${OLD_MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}" | ||
8 | 16 | ||
9 | HOST_ARCH = "${BUILD_ARCH}" | 17 | HOST_ARCH = "${BUILD_ARCH}" |
10 | HOST_VENDOR = "${BUILD_VENDOR}" | 18 | HOST_VENDOR = "${BUILD_VENDOR}" |