From 4c694d5bd29c406009332e3bd388e3f6a504d103 Mon Sep 17 00:00:00 2001 From: Zubair Lutfullah Kakakhel Date: Tue, 4 Oct 2016 12:31:20 +0100 Subject: gcc-configure: Add mipsisa{32, 64}r6{el, } support Add support for MIPS Release 6 ISA Signed-off-by: Zubair Lutfullah Kakakhel Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-configure-common.inc | 4 ++++ meta/recipes-devtools/gcc/gcc-runtime.inc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index b374c30acb..ddebbb8410 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc @@ -61,6 +61,10 @@ EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-6 EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" EXTRA_OECONF_append_mips64n32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" +EXTRA_OECONF_append_mipsisa32r6el = " --with-abi=32 --with-arch=mips32r6" +EXTRA_OECONF_append_mipsisa32r6 = " --with-abi=32 --with-arch=mips32r6" +EXTRA_OECONF_append_mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6" +EXTRA_OECONF_append_mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6" # ARMv6+ adds atomic instructions that affect the ABI in libraries built # with TUNE_CCARGS in gcc-runtime. Make the compiler default to a diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 9791e21434..321a6deda4 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc @@ -21,6 +21,10 @@ RUNTIMELIBITM_mips = "" RUNTIMELIBITM_mipsel = "" RUNTIMELIBITM_mips64 = "" RUNTIMELIBITM_mips64el = "" +RUNTIMELIBITM_mipsisa32r6 = "" +RUNTIMELIBITM_mipsisa32r6el = "" +RUNTIMELIBITM_mipsisa64r6 = "" +RUNTIMELIBITM_mipsisa64r6el = "" RUNTIMELIBITM_nios2 = "" RUNTIMELIBITM_microblaze = "" -- cgit v1.2.3