Add configuration to prevent selection of Windows native toolchains when using Ubuntu under Windows 10

This commit is contained in:
Gregory Nutt
2017-01-02 07:16:47 -06:00
parent 3a0413c048
commit 13d00344c9
14 changed files with 74 additions and 64 deletions
+3 -3
View File
@@ -7,8 +7,8 @@ if ARCH_CHIP_LM32
choice
prompt "Toolchain Selection"
default LM32_TOOLCHAIN_GNUW if HOST_WINDOWS
default LM32_TOOLCHAIN_GNUL if !HOST_WINDOWS
default LM32_TOOLCHAIN_GNUW if TOOLCHAIN_WINDOWS
default LM32_TOOLCHAIN_GNUL if !TOOLCHAIN_WINDOWS
config LM32_TOOLCHAIN_BUILDROOT
bool "Buildroot (Cygwin or Linux)"
@@ -22,7 +22,7 @@ config LM32_TOOLCHAIN_GNUL
config LM32_TOOLCHAIN_GNUW
bool "Generic GNU toolchain under Windows"
depends on HOST_WINDOWS
depends on TOOLCHAIN_WINDOWS
---help---
This option should work for any modern GNU toolchain (GCC 4.5 or newer)
configured for lm32-elf-.