[OE-core] [PATCH 1/3] gcc: update i586 TARGET_ARCH tests to also handle i686
Andre McCurdy
armccurdy at gmail.com
Tue Jun 30 22:28:48 UTC 2015
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
meta/recipes-devtools/gcc/gcc-common.inc | 1 +
meta/recipes-devtools/gcc/gcc-multilib-config.inc | 2 ++
2 files changed, 3 insertions(+)
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 04c701a..d63c07f 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -34,6 +34,7 @@ def get_gcc_multiarch_setting(bb, d):
target_arch = d.getVar('TRANSLATED_TARGET_ARCH', True)
multiarch_options = {
"i586": "--enable-targets=all",
+ "i686": "--enable-targets=all",
"powerpc": "--enable-targets=powerpc64",
"mips": "--enable-targets=all",
"sparc": "--enable-targets=all",
diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
index 6134097..dcd0819 100644
--- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc
+++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
@@ -120,6 +120,7 @@ python gcc_multilib_setup() {
gcc_target_config_files = {
'x86_64' : ['gcc/config/i386/t-linux64'],
'i586' : ['gcc/config/i386/t-linux64'],
+ 'i686' : ['gcc/config/i386/t-linux64'],
'mips' : ['gcc/config/mips/t-linux64'],
'powerpc' : ['gcc/config/rs6000/t-linux64'],
'powerpc64' : ['gcc/config/rs6000/t-linux64'],
@@ -128,6 +129,7 @@ python gcc_multilib_setup() {
gcc_header_config_files = {
'x86_64' : ['gcc/config/i386/linux64.h'],
'i586' : ['gcc/config/i386/linux64.h'],
+ 'i686' : ['gcc/config/i386/linux64.h'],
'mips' : ['gcc/config/mips/linux64.h'],
'powerpc' : ['gcc/config/rs6000/linux64.h'],
'powerpc64' : ['gcc/config/rs6000/linux64.h'],
--
1.9.1
More information about the Openembedded-core
mailing list