summaryrefslogtreecommitdiffstats
path: root/target/arch.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-09-26 23:12:38 +0200
committerBernhard Reutner-Fischer2007-09-26 23:12:38 +0200
commit4b0d5a80f8b38bf9a264584ffc90b901f82c8cbb (patch)
tree56762054e7ac277378262dd98c4ff8c9c55a7d1e /target/arch.in
parent- sjhill? (diff)
downloadbuildroot-4b0d5a80f8b38bf9a264584ffc90b901f82c8cbb.tar.gz
buildroot-4b0d5a80f8b38bf9a264584ffc90b901f82c8cbb.tar.xz
buildroot-4b0d5a80f8b38bf9a264584ffc90b901f82c8cbb.zip
- revert some bad checkins, fixup bad settings in atmel targets and move the gcc target abi back to a place where the other arch-specific settings live
Diffstat (limited to 'target/arch.in')
-rw-r--r--target/arch.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/target/arch.in b/target/arch.in
index 9d56548bb..7a75044cc 100644
--- a/target/arch.in
+++ b/target/arch.in
@@ -108,6 +108,18 @@ config BR2_ARM_TYPE
default ARM_XSCALE if BR2_xscale
default ARM_IWMMXT if BR2_iwmmxt
+choice
+ prompt "Target ABI"
+ depends BR2_arm || BR2_armeb
+ default BR2_ARM_OABI
+ help
+ Application Binary Interface to use
+
+config BR2_ARM_OABI
+ bool "OABI"
+config BR2_ARM_EABI
+ bool "EABI"
+endchoice
choice
prompt "Target Architecture Variant"
@@ -623,3 +635,24 @@ config BR2_GCC_TARGET_ARCH
default z990 if BR2_s390_z990
default z9-109 if BR2_s390_z9_109
+config BR2_GCC_TARGET_ABI
+ string
+ default apcs-gnu if BR2_arm_dunno
+ default atpcs if BR2_arm_dunno
+ 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 n32 if BR2_mipsel && BR2_EABI
+ default o64 if BR2_mips && BR2_OABI
+ 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
+ default no-altivec if BR2_powerpc && BR2_ABI_no-altivec
+ default spe if BR2_powerpc && BR2_ABI_spe
+ default no-spe if BR2_powerpc && BR2_ABI_no-spe
+ default ibmlongdouble if BR2_powerpc && BR2_ABI_ibmlongdouble
+ default ieeelongdouble if BR2_powerpc && BR2_ABI_ieeelongdouble
+