mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
arch:arm64: add support for nuttx arm64 Toolchain Selection
Summary: 1. to enable Toolchain select Kconfig option, making something depend on the opton to be configured with menuconfig Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
This commit is contained in:
@@ -6,6 +6,22 @@
|
|||||||
if ARCH_ARM64
|
if ARCH_ARM64
|
||||||
comment "ARM64 Options"
|
comment "ARM64 Options"
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "ARM64 Toolchain Selection"
|
||||||
|
default ARM64_TOOLCHAIN_GNU_EABI
|
||||||
|
|
||||||
|
config ARM64_TOOLCHAIN_GNU_EABI
|
||||||
|
bool "Generic GNU EABI toolchain"
|
||||||
|
select ARCH_TOOLCHAIN_GNU
|
||||||
|
---help---
|
||||||
|
This option should work for any modern GNU toolchain (GCC 4.5 or newer)
|
||||||
|
|
||||||
|
config ARM64_TOOLCHAIN_CLANG
|
||||||
|
bool "LLVM Clang toolchain"
|
||||||
|
select ARCH_TOOLCHAIN_CLANG
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "ARM64 chip selection"
|
prompt "ARM64 chip selection"
|
||||||
default ARCH_CHIP_QEMU
|
default ARCH_CHIP_QEMU
|
||||||
|
|||||||
Reference in New Issue
Block a user