summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-configure-common.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-04-25 15:35:39 -0700
committerKhem Raj <raj.khem@gmail.com>2012-05-20 20:24:36 -0700
commit253f1f3aebd1a90c55efcc6d1f585204e7f3c371 (patch)
treef48b1749f250d22e226fb49c226345fc06f2945b /meta/recipes-devtools/gcc/gcc-configure-common.inc
parent2e315d2d0de215811e8caa80b1f13fd0e9fa53e8 (diff)
downloadopenembedded-core-253f1f3aebd1a90c55efcc6d1f585204e7f3c371.tar.gz
openembedded-core-253f1f3aebd1a90c55efcc6d1f585204e7f3c371.tar.bz2
openembedded-core-253f1f3aebd1a90c55efcc6d1f585204e7f3c371.zip
gcc-4.6, gcc-4.7: Add support for building mips64 cross compiler
Defaults to n64 ABI Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-common.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index a812b989d4..4d11ef4f40 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -49,6 +49,10 @@ EXTRA_OECONF = "${@['--enable-clocale=generic', ''][d.getVar('USE_NLS', True) !=
# Build uclibc compilers without cxa_atexit support
EXTRA_OECONF_append_linux = " --enable-__cxa_atexit"
EXTRA_OECONF_append_libc-uclibc = " --enable-__cxa_atexit"
+
+EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
+EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
+
EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}"
CPPFLAGS = ""