diff options
author | Alexey Neyman <stilor@att.net> | 2017-07-04 19:19:42 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-07-08 10:57:56 -0700 |
commit | ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69 (patch) | |
tree | 3866631ee0fa3fc650fd71de948f9a8b32bfc359 /config/arch/mips.in | |
parent | 50a387afa7abd24255ef865dada5d324265e1250 (diff) | |
download | crosstool-ng-ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69.tar.gz crosstool-ng-ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69.tar.bz2 crosstool-ng-ff0a1a3da605ca157e3f3d0ed2d8b9acb30c2f69.zip |
Switch gen-kconfig to new framework
Also:
- Move companion_* to comp_* to match the kconfig symbols
- Replace bootstrap with former gen-versions.sh
- Fold *.in.2 into their respective first parts; this moves common
options to the end - if it is undesirable, inclusion of *.in
can be moved where *.in.2 used to be (but that will also move
version selection after common options).
- Retire addToolVersion.sh (may later replace with a more
comprehensive script that tries to download the added tarballs,
copy the patches and try to apply them, and create a version.desc).
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/arch/mips.in')
-rw-r--r-- | config/arch/mips.in | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/config/arch/mips.in b/config/arch/mips.in index 1168f5e6..850fe113 100644 --- a/config/arch/mips.in +++ b/config/arch/mips.in @@ -9,6 +9,43 @@ ## select ARCH_SUPPORTS_WITH_ARCH ## select ARCH_SUPPORTS_WITH_TUNE ## select ARCH_SUPPORTS_WITH_FLOAT -## + ## help The MIPS architecture, as defined by: ## help http://www.mips.com/ + +choice + bool + prompt "ABI" + +config ARCH_mips_o32 + bool + prompt "o32" + depends on (ARCH_32 || MULTILIB) + help + This is the -mabi=32 gcc option. + +config ARCH_mips_n32 + bool + prompt "n32" + depends on ARCH_64 + help + This is the -mabi=n32 gcc option. + +config ARCH_mips_n64 + bool + prompt "n64" + depends on ARCH_64 + help + This is the -mabi=64 gcc option. + +# Not supported on Linux: +# o64 : seems related to *BSD +# eabi : seems related to bare-metal + +endchoice + +config ARCH_mips_ABI + string + default "32" if ARCH_mips_o32 + default "n32" if ARCH_mips_n32 + default "64" if ARCH_mips_n64 |