aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-03 15:52:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-03 17:40:14 +0100
commit6def7129cf7580a935c05cc05b7f803812d5bb18 (patch)
tree3a903bfa14ceb211660b7b7c02da7eef0cf537ce /meta/conf/bitbake.conf
parent4806a459880d0860b563d30d3fa8d7cde3461cc6 (diff)
downloadopenembedded-core-contrib-6def7129cf7580a935c05cc05b7f803812d5bb18.tar.gz
bitbake.conf/qemux86-64: Automate TRANSLATED_TARGET_ARCH
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index ac5d1f3933..6f0b42c237 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -728,7 +728,7 @@ TARGET_ARCH[unexport] = "1"
DISTRO[unexport] = "1"
# Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
-TRANSLATED_TARGET_ARCH ??= ${TARGET_ARCH}
+TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}"
# Setup our default hash policy
BB_SIGNATURE_HANDLER ?= "basic"