u-boot-brain/arch/riscv
Lukas Auer 0c074845e5 riscv: set -march and -mabi based on the Kconfig configuration
Use the new Kconfig entries to construct the ISA string for the -march
compiler flag. The -mabi compiler flag is selected based on the base
integer instruction set.

With this change, the C (compressed instructions) ISA extension is now
enabled for all boards with CONFIG_RISCV_ISA_C set. Buildman reports a
decrease in binary size of 71590 bytes.

Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2018-11-26 13:57:29 +08:00
..
cpu riscv: Move do_reset() to a common place 2018-10-03 17:48:43 +08:00
dts riscv: ae350: Clean up mixed tabs and spaces in the dts 2018-10-03 17:48:19 +08:00
include/asm Use _AC and UL macros from linux/const.h 2018-11-20 13:08:15 +01:00
lib riscv: rename CPU_RISCV_32/64 to match architecture names ARCH_RV32I/64I 2018-11-26 13:57:29 +08:00
config.mk riscv: set -march and -mabi based on the Kconfig configuration 2018-11-26 13:57:29 +08:00
Kconfig riscv: add Kconfig entries for the C and A ISA extensions 2018-11-26 13:57:29 +08:00
Makefile riscv: set -march and -mabi based on the Kconfig configuration 2018-11-26 13:57:29 +08:00