forked from Archive/PX4-Autopilot
[Kconfig] Fix Posix / SITL build
This commit is contained in:
parent
0400c24af5
commit
4ba1a2f395
20
Kconfig
20
Kconfig
|
@ -27,7 +27,8 @@ menu "Toolchain"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Toolchain"
|
prompt "Toolchain"
|
||||||
default TOOLCHAIN_ARM_NONE_EABI
|
depends on PLATFORM_NUTTX
|
||||||
|
default TOOLCHAIN_ARM_NONE_EABI if PLATFORM_NUTTX
|
||||||
config TOOLCHAIN_ARM_NONE_EABI
|
config TOOLCHAIN_ARM_NONE_EABI
|
||||||
bool "arm-none-eabi"
|
bool "arm-none-eabi"
|
||||||
config TOOLCHAIN_RISV64
|
config TOOLCHAIN_RISV64
|
||||||
|
@ -38,11 +39,13 @@ menu "Toolchain"
|
||||||
|
|
||||||
config BOARD_TOOLCHAIN
|
config BOARD_TOOLCHAIN
|
||||||
string
|
string
|
||||||
default "arm-none-eabi" if TOOLCHAIN_ARM_NONE_EABI
|
default "arm-none-eabi" if TOOLCHAIN_ARM_NONE_EABI && PLATFORM_NUTTX
|
||||||
default "riscv64-unknown-elf" if TOOLCHAIN_RISV64
|
default "riscv64-unknown-elf" if TOOLCHAIN_RISV64 && PLATFORM_NUTTX
|
||||||
|
default ""
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Architecture"
|
prompt "Architecture"
|
||||||
|
depends on PLATFORM_NUTTX
|
||||||
config ARCHITECTURE_CORTEX_M3
|
config ARCHITECTURE_CORTEX_M3
|
||||||
bool "cortex-m3"
|
bool "cortex-m3"
|
||||||
config ARCHITECTURE_CORTEX_M4
|
config ARCHITECTURE_CORTEX_M4
|
||||||
|
@ -59,11 +62,12 @@ menu "Toolchain"
|
||||||
|
|
||||||
config BOARD_ARCHITECTURE
|
config BOARD_ARCHITECTURE
|
||||||
string
|
string
|
||||||
default "cortex-m3" if ARCHITECTURE_CORTEX_M3
|
default "cortex-m3" if ARCHITECTURE_CORTEX_M3 && PLATFORM_NUTTX
|
||||||
default "cortex-m4" if ARCHITECTURE_CORTEX_M4
|
default "cortex-m4" if ARCHITECTURE_CORTEX_M4 && PLATFORM_NUTTX
|
||||||
default "cortex-m7" if ARCHITECTURE_CORTEX_M7
|
default "cortex-m7" if ARCHITECTURE_CORTEX_M7 && PLATFORM_NUTTX
|
||||||
default "cortex-a8" if ARCHITECTURE_CORTEX_A8
|
default "cortex-a8" if ARCHITECTURE_CORTEX_A8 && PLATFORM_NUTTX
|
||||||
default "cortex-a53" if ARCHITECTURE_CORTEX_A53
|
default "cortex-a53" if ARCHITECTURE_CORTEX_A53 && PLATFORM_NUTTX
|
||||||
|
default ""
|
||||||
|
|
||||||
config BOARD_ROMFSROOT
|
config BOARD_ROMFSROOT
|
||||||
string "ROMFSROOT"
|
string "ROMFSROOT"
|
||||||
|
|
Loading…
Reference in New Issue