diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-03 15:52:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-03 17:46:46 +0100 |
commit | e8e06a48b34882bdd80aa94ff1d5ff329b7505dc (patch) | |
tree | 27faa69a6ff23521557abb66e8b7470dd6e4115e | |
parent | b65fd46ee2418fd7c50eb19fbb59b9eaf6b04a16 (diff) | |
download | poky-e8e06a48b34882bdd80aa94ff1d5ff329b7505dc.tar.gz |
bitbake.conf/qemux86-64: Automate TRANSLATED_TARGET_ARCH
(From OE-Core rev: 6def7129cf7580a935c05cc05b7f803812d5bb18)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/bitbake.conf | 2 | ||||
-rw-r--r-- | meta/conf/machine/qemux86-64.conf | 3 |
2 files changed, 1 insertions, 4 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" | |||
728 | DISTRO[unexport] = "1" | 728 | DISTRO[unexport] = "1" |
729 | 729 | ||
730 | # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed | 730 | # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed |
731 | TRANSLATED_TARGET_ARCH ??= ${TARGET_ARCH} | 731 | TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}" |
732 | 732 | ||
733 | # Setup our default hash policy | 733 | # Setup our default hash policy |
734 | BB_SIGNATURE_HANDLER ?= "basic" | 734 | BB_SIGNATURE_HANDLER ?= "basic" |
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf index 46d7d1270d..18a75138a8 100644 --- a/meta/conf/machine/qemux86-64.conf +++ b/meta/conf/machine/qemux86-64.conf | |||
@@ -2,9 +2,6 @@ | |||
2 | #@NAME: common_pc | 2 | #@NAME: common_pc |
3 | #@DESCRIPTION: Machine configuration for running a common x86 | 3 | #@DESCRIPTION: Machine configuration for running a common x86 |
4 | 4 | ||
5 | TARGET_ARCH = "x86_64" | ||
6 | TRANSLATED_TARGET_ARCH = "x86-64" | ||
7 | |||
8 | PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" | 5 | PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" |
9 | PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" | 6 | PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" |
10 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" | 7 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" |