mirror of
https://github.com/olofk/serv.git
synced 2025-04-18 19:14:53 -04:00
Enable zicsr flag for GCC
Some checks are pending
Run compliance test suite / RISC-V Compliance Test (push) Waiting to run
Formal verification / Run RISCV-formal verification suite (push) Waiting to run
Run linter / Linter (push) Waiting to run
Build GDS using OpenLANE and sky130 PDK / build-openlane-sky130 (push) Waiting to run
Some checks are pending
Run compliance test suite / RISC-V Compliance Test (push) Waiting to run
Formal verification / Run RISCV-formal verification suite (push) Waiting to run
Run linter / Linter (push) Waiting to run
Build GDS using OpenLANE and sky130 PDK / build-openlane-sky130 (push) Waiting to run
This commit is contained in:
parent
01e74ef7fd
commit
842c2df0ca
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
TOOLCHAIN_PREFIX?=riscv64-unknown-elf-
|
||||
|
||||
%.elf: %.S link.ld
|
||||
$(TOOLCHAIN_PREFIX)gcc -nostartfiles -nostdlib -march=rv32i -mabi=ilp32 -Tlink.ld -o$@ $<
|
||||
$(TOOLCHAIN_PREFIX)gcc -nostartfiles -nostdlib -march=rv32i_zicsr -mabi=ilp32 -Tlink.ld -o$@ $<
|
||||
%.bin: %.elf
|
||||
$(TOOLCHAIN_PREFIX)objcopy -O binary $< $@
|
||||
%.hex: %.bin
|
||||
|
|
Loading…
Add table
Reference in a new issue