Files
BPI-CM9-Linux/aml-comp/uboot/bl30/rtos_sdk/arch/riscv/toolchain/Kconfig
T
2026-08-24 10:03:24 +08:00

40 lines
725 B
Plaintext

# Copyright (c) 2021-2022 Amlogic, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
choice TOOLCHAIN
bool "Toolchain selection"
default TOOLCHAIN_GCC
help
"Select toolchain"
config TOOLCHAIN_GCC
bool "GCC"
help
"Select GCC toolchain"
endchoice
if TOOLCHAIN_GCC
config MARCH
string "Machine architecture"
default "rv32imc"
help
Machine architecture option value.
config LTO_OPTIMIZATION
bool "LTO flag"
help
"Select The link-time optimizations flag"
config STACK_PROTECTOR_STRONG
bool "stack protecter strong flag"
help
"Select stack protecter string flag"
config M_SAVE_RESTORE
bool "-msave-restore flag"
help
"Select -msave-restore flag to save risc-v build size"
endif