From 3de7a21bc743a691b158bd078569b4c9040fb60c Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 29 Sep 2007 19:17:39 +0000 Subject: - add mips/mipsel target architecture selection - rename BR2_ARM_[EO]ABI to the commonly used BR2_[EO]ABI --- target/Config.in.arch | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 46 insertions(+), 5 deletions(-) (limited to 'target/Config.in.arch') diff --git a/target/Config.in.arch b/target/Config.in.arch index 7a75044cc..6ac81a209 100644 --- a/target/Config.in.arch +++ b/target/Config.in.arch @@ -111,16 +111,57 @@ config BR2_ARM_TYPE choice prompt "Target ABI" depends BR2_arm || BR2_armeb - default BR2_ARM_OABI + default BR2_OABI help Application Binary Interface to use -config BR2_ARM_OABI +config BR2_OABI bool "OABI" -config BR2_ARM_EABI +config BR2_EABI bool "EABI" endchoice +choice + prompt "Target Architecture Variant" + depends BR2_mips || BR2_mipsel + default BR2_mips_3 + help + Specific CPU variant to use + +config BR2_mips_1 + bool "mips 1" +config BR2_mips_2 + bool "mips 2" +config BR2_mips_3 + bool "mips 3" +config BR2_mips_4 + bool "mips 4" +config BR2_mips_32 + bool "mips 32" +config BR2_mips_32r2 + bool "mips 32r2" +config BR2_mips_64 + bool "mips 64" +config BR2_mips16_ + bool "mips 16" +endchoice + + +choice + prompt "Target ABI" + depends BR2_mips || BR2_mipsel + default BR2_EABI + help + Application Binary Interface to use + +config BR2_OABI + bool "OABI" +config BR2_EABI + bool "EABI" +config BR2_ABI64 + bool "N64" +endchoice + choice prompt "Target Architecture Variant" depends BR2_avr32 @@ -642,11 +683,11 @@ config BR2_GCC_TARGET_ABI default aapcs if BR2_arm_dunno default aapcs-linux if BR2_arm_dunno default iwmmxt if BR2_iwmmxt - default 32 if BR2_mipsel && BR2_OABI + default 32 if (BR2_mipsel || BR2_arm) && BR2_OABI default n32 if BR2_mipsel && BR2_EABI default o64 if BR2_mips && BR2_OABI + default eabi if (BR2_mips || BR2_arm) && BR2_EABI default 64 if BR2_mips && BR2_ABI64 - default eabi if BR2_mips && BR2_EABI default mmixware if BR2_mmix && BR2_ABI_native default gnu if BR2_mmix && !BR2_ABI_native default altivec if BR2_powerpc && BR2_ABI_altivec -- cgit v1.2.3