summaryrefslogtreecommitdiff
path: root/target/Config.in.arch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-29 19:17:39 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-29 19:17:39 +0000
commit3de7a21bc743a691b158bd078569b4c9040fb60c (patch)
treed5c9a4008412aaf017cb0e376446b0a008bc5fe3 /target/Config.in.arch
parent7a478629c14a91a87c416a255cfd83581f438ded (diff)
- add mips/mipsel target architecture selection
- rename BR2_ARM_[EO]ABI to the commonly used BR2_[EO]ABI
Diffstat (limited to 'target/Config.in.arch')
-rw-r--r--target/Config.in.arch51
1 files changed, 46 insertions, 5 deletions
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,18 +111,59 @@ 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
config BR2_at32ap7000
bool "AT32AP7000"
@@ -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