mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-02 09:45:18 +00:00
Update testbench makefile to generate memfile even in elf file does not end in .elf
This commit is contained in:
parent
cda490c911
commit
1932d8bc5d
@ -2,11 +2,11 @@
|
|||||||
# David_Harris@hmc.edu 3 July 2024
|
# David_Harris@hmc.edu 3 July 2024
|
||||||
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
|
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
|
||||||
|
|
||||||
%.elf.memfile: %.elf
|
%.memfile: %
|
||||||
riscv64-unknown-elf-elf2hex --bit-width $(if $(findstring rv32,$*),32,64) --input $< --output $@
|
riscv64-unknown-elf-elf2hex --bit-width $(if $(findstring rv32,$*),32,64) --input $< --output $@
|
||||||
|
|
||||||
%.elf.objdump.addr: %.elf.objdump
|
%.objdump.addr: %.objdump
|
||||||
extractFunctionRadix.sh $<
|
extractFunctionRadix.sh $<
|
||||||
|
|
||||||
%.elf.objdump: %.elf
|
%.objdump: %
|
||||||
riscv64-unknown-elf-objdump -S -D $< > $@
|
riscv64-unknown-elf-objdump -S -D $< > $@
|
||||||
|
Loading…
Reference in New Issue
Block a user