summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/src/mips32/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-21 18:34:10 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-21 18:34:10 +0000
commit14a77ec91b12454c9106836b3d4a08c63a098e1d (patch)
tree06d31d6b84560021098398f9a4420f78b74cd3e2 /nuttx/arch/mips/src/mips32/Kconfig
parentbae532d2adc61dc1db83f878366c54cc880b16f6 (diff)
downloadpx4-nuttx-14a77ec91b12454c9106836b3d4a08c63a098e1d.tar.gz
px4-nuttx-14a77ec91b12454c9106836b3d4a08c63a098e1d.tar.bz2
px4-nuttx-14a77ec91b12454c9106836b3d4a08c63a098e1d.zip
Big refactoring of toolchain definitions by Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5379 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/mips/src/mips32/Kconfig')
-rw-r--r--nuttx/arch/mips/src/mips32/Kconfig41
1 files changed, 41 insertions, 0 deletions
diff --git a/nuttx/arch/mips/src/mips32/Kconfig b/nuttx/arch/mips/src/mips32/Kconfig
index 1b4499568..b8b5d9b92 100644
--- a/nuttx/arch/mips/src/mips32/Kconfig
+++ b/nuttx/arch/mips/src/mips32/Kconfig
@@ -6,4 +6,45 @@
if ARCH_MIPS32
comment "MIPS32 Configuration Options"
+choice
+ prompt "Toolchain Selection"
+ default MIPS32_TOOLCHAIN_MICROCHIPW_LITE if HOST_WINDOWS
+ default MIPS32_TOOLCHAIN_GNU_ELF if !HOST_WINDOWS
+
+config MIPS32_TOOLCHAIN_GNU_ELF
+ bool "Generic GNU ELF toolchain"
+ ---help---
+ This option should work for any modern GNU toolchain (GCC 4.5 or newer)
+ configured for mips32-elf.
+
+config MIPS32_TOOLCHAIN_MICROCHIPL
+ bool "Microchip C32 toolchain under Linux"
+ depends on HOST_LINUX
+
+config MIPS32_TOOLCHAIN_MICROCHIPL_LITE
+ bool "Microchip C32 toolchain under Linux (Lite edition)"
+ depends on HOST_LINUX
+
+config MIPS32_TOOLCHAIN_MICROCHIPW
+ bool "Microchip C32 toolchain under Windows"
+ depends on HOST_WINDOWS
+
+config MIPS32_TOOLCHAIN_MICROCHIPW_LITE
+ bool "Microchip C32 toolchain under Windows (Lite edition)"
+ depends on HOST_WINDOWS
+
+config MIPS32_TOOLCHAIN_MICROCHIPOPENL
+ bool "microchipOpen toolchain under Linux"
+ depends on HOST_LINUX
+
+config MIPS32_TOOLCHAIN_PINGUINOW
+ bool "Pinguino mips-elf toolchain under Windows"
+ depends on HOST_WINDOWS
+
+config MIPS32_TOOLCHAIN_PINGUINOL
+ bool "Pinguino mips-elf toolchain under OS X or Linux"
+ depends on HOST_LINUX || HOST_OSX
+
+endchoice
+
endif