mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
arch/z80: Unify the toolchain definition of SDCC for linux and windows
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -304,17 +304,10 @@ endchoice
|
||||
|
||||
choice
|
||||
prompt "Toolchain Selection"
|
||||
default Z180_TOOLCHAIN_SDCCW if TOOLCHAIN_WINDOWS
|
||||
default Z180_TOOLCHAIN_SDCCL if !TOOLCHAIN_WINDOWS
|
||||
default Z180_TOOLCHAIN_SDCC
|
||||
|
||||
config Z180_TOOLCHAIN_SDCCL
|
||||
bool "SDCC for Linux, macOS, or Cygwin"
|
||||
depends on !WINDOWS_NATIVE
|
||||
|
||||
config Z180_TOOLCHAIN_SDCCW
|
||||
bool "SDCC for Windows"
|
||||
depends on TOOLCHAIN_WINDOWS
|
||||
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
|
||||
config Z180_TOOLCHAIN_SDCC
|
||||
bool "Win32, SDCC for Linux, macOS, or Cygwin"
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
@@ -29,8 +29,7 @@
|
||||
# built to run on Windows as a POSIX toolchain. The various SDCC options
|
||||
# are selected in the NuttX configuration with:
|
||||
#
|
||||
# CONFIG_Z180_TOOLCHAIN_SDCCL=y : SDCC for Linux, macOS or Cygwin
|
||||
# CONFIG_Z180_TOOLCHAIN_SDCCW=y : SDCC for Win32
|
||||
# CONFIG_Z180_TOOLCHAIN_SDCC=y : Win32, SDCC for Linux, macOS or Cygwin
|
||||
#
|
||||
|
||||
# These are the directories where the SDCC toolchain is installed. NOTE
|
||||
|
||||
@@ -7,17 +7,10 @@ if ARCH_CHIP_Z80
|
||||
|
||||
choice
|
||||
prompt "Toolchain Selection"
|
||||
default Z80_TOOLCHAIN_SDCCW if TOOLCHAIN_WINDOWS
|
||||
default Z80_TOOLCHAIN_SDCCL if !TOOLCHAIN_WINDOWS
|
||||
default Z80_TOOLCHAIN_SDCC
|
||||
|
||||
config Z80_TOOLCHAIN_SDCCL
|
||||
bool "SDCC for Linux, macOS, or Cygwin"
|
||||
depends on !WINDOWS_NATIVE
|
||||
|
||||
config Z80_TOOLCHAIN_SDCCW
|
||||
bool "SDCC for Windows"
|
||||
depends on TOOLCHAIN_WINDOWS
|
||||
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
|
||||
config Z80_TOOLCHAIN_SDCC
|
||||
bool "Win32, SDCC for Linux, macOS, or Cygwin"
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
@@ -29,8 +29,7 @@
|
||||
# built to run on Windows as a POSIX toolchain. The various SDCC options are
|
||||
# selected in the NuttX configuration with:
|
||||
#
|
||||
# CONFIG_Z80_TOOLCHAIN_SDCCL=y : SDCC for Linux, macOS or Cygwin
|
||||
# CONFIG_Z80_TOOLCHAIN_SDCCW=y : SDCC for Win32
|
||||
# CONFIG_Z80_TOOLCHAIN_SDCC=y : Win32, SDCC for Linux, macOS or Cygwin
|
||||
#
|
||||
|
||||
# These are the directories where the SDCC toolchain is installed. NOTE
|
||||
|
||||
Reference in New Issue
Block a user