summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf7
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}"
81HOST_CC_ARCH = "${TARGET_CC_ARCH}" 81HOST_CC_ARCH = "${TARGET_CC_ARCH}"
82HOST_EXEEXT = "" 82HOST_EXEEXT = ""
83 83
84TARGET_ARCH = "INVALID" 84TUNE_ARCH ??= "INVALID"
85TARGET_ARCH = "${TUNE_ARCH}"
85TARGET_OS = "INVALID" 86TARGET_OS = "INVALID"
86TARGET_VENDOR = "-oe" 87TARGET_VENDOR = "-oe"
87TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}" 88TARGET_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), '']
95SDK_PREFIX = "${SDK_SYS}-" 96SDK_PREFIX = "${SDK_SYS}-"
96SDK_CC_ARCH = "${BUILD_CC_ARCH}" 97SDK_CC_ARCH = "${BUILD_CC_ARCH}"
97 98
98BASE_PACKAGE_ARCH = "${HOST_ARCH}" 99BASE_PACKAGE_ARCH = "${TUNE_PKGARCH}"
99PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" 100PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
100MACHINE_ARCH = "${@[bb.data.getVar('BASE_PACKAGE_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}" 101MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}"
101PACKAGE_EXTRA_ARCHS ??= "${TARGET_ARCH}" 102PACKAGE_EXTRA_ARCHS ??= "${TARGET_ARCH}"
102PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" 103PACKAGE_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