summaryrefslogtreecommitdiff
path: root/conf/oe.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/oe.conf')
-rw-r--r--conf/oe.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/oe.conf b/conf/oe.conf
index 5e186c3820..11b5631e53 100644
--- a/conf/oe.conf
+++ b/conf/oe.conf
@@ -45,7 +45,7 @@ TARGET_PREFIX = "${TARGET_SYS}-"
TARGET_CC_ARCH = ""
PACKAGE_ARCH = "${HOST_ARCH}"
-MACHINE_ARCH = "${MACHINE}"
+MACHINE_ARCH = "${@[oe.data.getVar('PACKAGE_ARCH', d, 1), oe.data.getVar('MACHINE', d, 1)][bool(oe.data.getVar('MACHINE', d, 1))]}"
##################################################################
# Date/time variables.