summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-19 23:38:25 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-19 23:38:25 +0200
commitd1db6f668fb056fc50b0ec69ec521657e966ecb7 (patch)
tree4249b60401819961c93d821d19dcbfd5fa8957e6 /kconfig
parent46ac6bfff75f1719de70578748dfb8abbf43e729 (diff)
downloadembtoolkit-d1db6f668fb056fc50b0ec69ec521657e966ecb7.tar.gz
embtoolkit-d1db6f668fb056fc50b0ec69ec521657e966ecb7.tar.bz2
embtoolkit-d1db6f668fb056fc50b0ec69ec521657e966ecb7.tar.xz
MIPS: give ability to choose ABI to build and a multilib toolchain or not
This patch gives the ability to choose the mips ABI to build and the choice to build multilib toolchain or not. It also remanes arch_variant.kconfig to arch-variant.kconfig. Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/arch-variant.kconfig (renamed from kconfig/arch_variant.kconfig)48
1 files changed, 46 insertions, 2 deletions
diff --git a/kconfig/arch_variant.kconfig b/kconfig/arch-variant.kconfig
index 848708d..5c60d42 100644
--- a/kconfig/arch_variant.kconfig
+++ b/kconfig/arch-variant.kconfig
@@ -16,12 +16,14 @@
# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
#########################################################################################
#
-# \file arch_variant.kconfig
-# \brief arch_variant of project
+# \file arch-variant.kconfig
+# \brief arch-variant.kconfig of EmbToolkit, here we give users the ability to
+# \brief choose which variant of CPU to use.
# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# \date May 2009
#########################################################################################
+################################## MIPS ARCH ############################################
choice
prompt "Architecture variant"
depends on EMBTK_ARCH_MIPS
@@ -64,6 +66,48 @@ choice
endchoice
+choice
+ prompt "ABI"
+ depends on EMBTK_ARCH_MIPS
+ default EMBTK_ARCH_MIPS_ABI_O32
+ help
+ Here you can select which abi you want to use.
+ config EMBTK_ARCH_MIPS_ABI_O32
+ bool "o32"
+ config EMBTK_ARCH_MIPS_ABI_N32
+ bool "n32" if EMBTK_ARCH_MIPS_MIPS3_LITTLE || EMBTK_ARCH_MIPS_MIPS3_BIG \
+ || EMBTK_ARCH_MIPS_MIPS4_LITTLE || EMBTK_ARCH_MIPS_MIPS4_BIG || \
+ EMBTK_ARCH_MIPS_MIPS64_LITTLE || EMBTK_ARCH_MIPS_MIPS64_BIG || \
+ EMBTK_ARCH_MIPS_MIPS64R2_LITTLE || EMBTK_ARCH_MIPS_MIPS64R2_BIG
+
+ config EMBTK_ARCH_MIPS_ABI_EABI
+ bool "eabi" if EMBTK_ARCH_MIPS_MIPS3_LITTLE || EMBTK_ARCH_MIPS_MIPS3_BIG \
+ || EMBTK_ARCH_MIPS_MIPS4_LITTLE || EMBTK_ARCH_MIPS_MIPS4_BIG || \
+ EMBTK_ARCH_MIPS_MIPS64_LITTLE || EMBTK_ARCH_MIPS_MIPS64_BIG || \
+ EMBTK_ARCH_MIPS_MIPS64R2_LITTLE || EMBTK_ARCH_MIPS_MIPS64R2_BIG
+
+ config EMBTK_ARCH_MIPS_ABI_O64
+ bool "o64" if EMBTK_ARCH_MIPS_MIPS3_LITTLE || EMBTK_ARCH_MIPS_MIPS3_BIG \
+ || EMBTK_ARCH_MIPS_MIPS4_LITTLE || EMBTK_ARCH_MIPS_MIPS4_BIG || \
+ EMBTK_ARCH_MIPS_MIPS64_LITTLE || EMBTK_ARCH_MIPS_MIPS64_BIG || \
+ EMBTK_ARCH_MIPS_MIPS64R2_LITTLE || EMBTK_ARCH_MIPS_MIPS64R2_BIG
+
+ config EMBTK_ARCH_MIPS_ABI_N64
+ bool "n64" if EMBTK_ARCH_MIPS_MIPS3_LITTLE || EMBTK_ARCH_MIPS_MIPS3_BIG \
+ || EMBTK_ARCH_MIPS_MIPS4_LITTLE || EMBTK_ARCH_MIPS_MIPS4_BIG || \
+ EMBTK_ARCH_MIPS_MIPS64_LITTLE || EMBTK_ARCH_MIPS_MIPS64_BIG || \
+ EMBTK_ARCH_MIPS_MIPS64R2_LITTLE || EMBTK_ARCH_MIPS_MIPS64R2_BIG
+endchoice
+
+################################## End MIPS ARCH ########################################
+
+config EMBTK_TOOLCHAIN_MULTILIB
+ default n
+ bool "Build multilib toolchain"
+ help
+ Say yes here, to specify that multiple target libraries to support
+ different target variants, calling conventions, etc. should be built.
+
config EMBTK_SOFTFLOAT
default y
bool "Soft floating point"