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
+12
View File
@@ -45,6 +45,14 @@ config HOST_OTHER
endchoice
config TOOLCHAIN_WINDOWS
bool
default n
depends on HOST_WINDOWS
---help---
Selected internally if the selected Windows environment is compatible
with the use of Windows native toolchains.
choice
prompt "Windows Build Environment"
default WINDOWS_CYGWIN
@@ -52,12 +60,14 @@ choice
config WINDOWS_NATIVE
bool "Windows Native"
select TOOLCHAIN_WINDOWS
---help---
Build natively in a CMD.exe environment with Windows style paths
(like C:\cgywin\home)
config WINDOWS_CYGWIN
bool "Cygwin"
select TOOLCHAIN_WINDOWS
---help---
Build natively in a Cygwin environment with POSIX style paths (like
/cygdrive/c/Program Files)
@@ -70,12 +80,14 @@ config WINDOWS_UBUNTU
config WINDOWS_MSYS
bool "MSYS"
select TOOLCHAIN_WINDOWS
---help---
Build natively in a Cygwin environment with POSIX style paths (like
/cygdrive/c/cgywin/home)
config WINDOWS_OTHER
bool "Windows POSIX-like environment"
select TOOLCHAIN_WINDOWS
---help---
Build natively in another POSIX-like environment. Additional
support may be necessary