diff options
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index e768df5f7f..f95343f67a 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -81,7 +81,8 @@ HOST_PREFIX = "${TARGET_PREFIX}" | |||
81 | HOST_CC_ARCH = "${TARGET_CC_ARCH}" | 81 | HOST_CC_ARCH = "${TARGET_CC_ARCH}" |
82 | HOST_EXEEXT = "" | 82 | HOST_EXEEXT = "" |
83 | 83 | ||
84 | TARGET_ARCH = "INVALID" | 84 | TUNE_ARCH ??= "INVALID" |
85 | TARGET_ARCH = "${TUNE_ARCH}" | ||
85 | TARGET_OS = "INVALID" | 86 | TARGET_OS = "INVALID" |
86 | TARGET_VENDOR = "-oe" | 87 | TARGET_VENDOR = "-oe" |
87 | TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}" | 88 | TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}" |
@@ -95,9 +96,9 @@ SDK_SYS = "${SDK_ARCH}${SDK_VENDOR}${@['-' + bb.data.getVar('SDK_OS', d, 1), ''] | |||
95 | SDK_PREFIX = "${SDK_SYS}-" | 96 | SDK_PREFIX = "${SDK_SYS}-" |
96 | SDK_CC_ARCH = "${BUILD_CC_ARCH}" | 97 | SDK_CC_ARCH = "${BUILD_CC_ARCH}" |
97 | 98 | ||
98 | BASE_PACKAGE_ARCH = "${HOST_ARCH}" | 99 | BASE_PACKAGE_ARCH = "${TUNE_PKGARCH}" |
99 | PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" | 100 | PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" |
100 | MACHINE_ARCH = "${@[bb.data.getVar('BASE_PACKAGE_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}" | 101 | MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}" |
101 | PACKAGE_EXTRA_ARCHS ??= "${TARGET_ARCH}" | 102 | PACKAGE_EXTRA_ARCHS ??= "${TARGET_ARCH}" |
102 | PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" | 103 | PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" |
103 | # MACHINE_ARCH shouldn't be included here as a variable dependency | 104 | # MACHINE_ARCH shouldn't be included here as a variable dependency |