mirror of
https://github.com/rdolbeau/VexRiscvBPluginGenerator.git
synced 2025-04-18 18:44:42 -04:00
add C to default R5 arch
This commit is contained in:
parent
0cac24695c
commit
9ab05505bd
1 changed files with 2 additions and 2 deletions
4
r5.mk
4
r5.mk
|
@ -1,7 +1,7 @@
|
|||
## B Toolchain so we get some automatic B generation
|
||||
R5B_TOOLCHAIN=/opt/riscv64bk/
|
||||
R5B_GCC=$(R5B_TOOLCHAIN)/bin/riscv64-unknown-elf-gcc
|
||||
R5B_OPT=-Os -march=rv32imab -mabi=ilp32 -I.
|
||||
R5B_OPT=-Os -march=rv32imacb -mabi=ilp32 -I.
|
||||
|
||||
## Buildroot toolchain for linking and having up-to-date libraries and systems calls
|
||||
## Requires enabling C++ in buildroot with e.g.
|
||||
|
@ -10,5 +10,5 @@ R5B_OPT=-Os -march=rv32imab -mabi=ilp32 -I.
|
|||
R5IMA_TOOLCHAIN=/home/dolbeau2/LITEX/buildroot-rv32/output/host
|
||||
R5IMA_GCC=$(R5IMA_TOOLCHAIN)/bin/riscv32-buildroot-linux-gnu-gcc
|
||||
R5IMA_GXX=$(R5IMA_TOOLCHAIN)/bin/riscv32-buildroot-linux-gnu-g++
|
||||
R5IMA_OPT=-Os -march=rv32ima -mabi=ilp32 -I.
|
||||
R5IMA_OPT=-Os -march=rv32imac -mabi=ilp32 -I.
|
||||
R5IMA_STRIP=$(R5IMA_TOOLCHAIN)/riscv32-buildroot-linux-gnu-strip
|
||||
|
|
Loading…
Add table
Reference in a new issue