You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.3 KiB
73 lines
2.3 KiB
# entry of menuconfig
|
|
# mainmenu "Phytium Standalone SDK Configuration"
|
|
|
|
menu "Build Target"
|
|
choice BUILD_TARGET_ARCH_TYPE
|
|
prompt "Arch"
|
|
default TARGET_ARMV8_AARCH32
|
|
help
|
|
Select arch for build
|
|
config TARGET_ARMV8_AARCH32
|
|
bool "Armv8 Aarch32"
|
|
config TARGET_ARMV8_AARCH64
|
|
bool "Armv8 Aarch64"
|
|
config TARGET_ARMV7
|
|
bool "Armv7"
|
|
endchoice # BUILD_TARGET_ARCH_TYPE
|
|
|
|
choice BUILD_TARGET_CHIP_TYPE
|
|
prompt "Chip"
|
|
default TARGET_AARCH32_QEMU
|
|
help
|
|
Select chip type for build
|
|
|
|
config TARGET_F2000_4
|
|
bool "FT2000-4"
|
|
config TARGET_AARCH32_QEMU
|
|
bool "QEMU-AARCH32(V9-Express)"
|
|
config TARGET_AARCH64_QEMU
|
|
bool "QEMU-AARCH64"
|
|
config TARGET_E2000
|
|
bool "E2000"
|
|
endchoice # BUILD_TARGET_CHIP_TYPE
|
|
endmenu
|
|
|
|
menu "General Setting"
|
|
choice SDK_ENVI_TYPE
|
|
prompt "SDK Develope Platfrom"
|
|
default ENVI_UBUNTU_20_04
|
|
help
|
|
SDK development host environment type.
|
|
|
|
config ENVI_UBUNTU_20_04
|
|
bool
|
|
prompt "Ubuntu 20.04"
|
|
config ENVI_WINDOWS10_MINGW
|
|
bool
|
|
prompt "MinGW on Windows10"
|
|
endchoice # SDK_ENVI_TYPE
|
|
|
|
menu "Cross-Compiler Setting"
|
|
config COMPILER_NO_STD_STARUP
|
|
bool "Non-Use GCC Provide Startup Files"
|
|
default y if TARGET_BARE_METAL
|
|
help
|
|
Select if do not want to gcc provide startup file
|
|
|
|
config USE_EXT_COMPILER
|
|
bool "Use User-Specified Compiler"
|
|
default n
|
|
|
|
config EXT_COMPILER_PREFIX
|
|
depends on USE_EXT_COMPILER
|
|
string ""
|
|
default "arm-none-eabi-" if TARGET_ARMV8_AARCH32
|
|
default "aarch64-none-elf-" if TARGET_ARMV8_AARCH64
|
|
endmenu
|
|
|
|
source "$(SDK_ROOT)/make/ld/Kconfig"
|
|
endmenu
|
|
|
|
# add all kconfig source files, but specify their depends
|
|
source "$(SDK_ROOT)/bsp/Kconfig"
|
|
source "$(SDK_ROOT)/lib/Kconfig"
|