mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Add configuration to prevent selection of Windows native toolchains when using Ubuntu under Windows 10
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user