summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-06-30 15:28:48 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-07 23:57:12 +0100
commit589bad6e9213136e7f30b4eafb7abfdd10070d1a (patch)
tree83b2fbfd17065a87b0cd11e218a1b633d58b1dd1 /meta/recipes-devtools
parent4d208ebacb3a5d189998ac9be6d1a454c45aa975 (diff)
downloadopenembedded-core-589bad6e9213136e7f30b4eafb7abfdd10070d1a.tar.gz
openembedded-core-589bad6e9213136e7f30b4eafb7abfdd10070d1a.tar.bz2
openembedded-core-589bad6e9213136e7f30b4eafb7abfdd10070d1a.zip
gcc: update i586 TARGET_ARCH tests to also handle i686
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc1
-rw-r--r--meta/recipes-devtools/gcc/gcc-multilib-config.inc2
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 04c701a974..d63c07f68a 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 61340979ba..dcd08190b1 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'],