#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

if ARCH_CHIP_LM32

choice
	prompt "Toolchain Selection"
	default LM32_TOOLCHAIN_GNUW if TOOLCHAIN_WINDOWS
	default LM32_TOOLCHAIN_GNUL if !TOOLCHAIN_WINDOWS

config LM32_TOOLCHAIN_BUILDROOT
	bool "Buildroot (Cygwin or Linux)"
	depends on !WINDOWS_NATIVE
	select ARCH_TOOLCHAIN_GNU

config LM32_TOOLCHAIN_GNUL
	bool "Generic GNU toolchain under Linux (or other POSIX environment)"
	select ARCH_TOOLCHAIN_GNU
	---help---
		This option should work for any modern GNU toolchain (GCC 4.5 or newer)
		configured for lm32-elf-.

config LM32_TOOLCHAIN_GNUW
	bool "Generic GNU toolchain under Windows"
	depends on TOOLCHAIN_WINDOWS
	select CYGWIN_WINTOOL if WINDOWS_CYGWIN
	select ARCH_TOOLCHAIN_GNU
	---help---
		This option should work for any modern GNU toolchain (GCC 4.5 or newer)
		configured for lm32-elf-.

endchoice # Toolchain Selection

endif # ARCH_CHIP_LM32
