riscv: add support for modifying compiler options

Hardware / Coreboot - Xiang Wang [126.com] - 17 July 2018 18:09 EDT

Each HART of a SoC like fu540 supports a different ISA. In order for the coreboot's code can run on each core, need to modify the compile options. So add this code.

Change-Id: Ie33edc175e612846d4a74f3cbf7520d4145cb68b

5fed693a52 riscv: add support for modifying compiler options
src/arch/riscv/Kconfig | 14 ++++++++------
src/arch/riscv/Makefile.inc | 12 ++++++------
src/soc/lowrisc/lowrisc/Kconfig | 12 ++++++++++++
src/soc/sifive/fu540/Kconfig | 12 ++++++++++++
src/soc/ucb/riscv/Kconfig | 12 ++++++++++++
5 files changed, 50 insertions(+), 12 deletions(-)

Upstream: review.coreboot.org


  • Share