1
0
forked from Rativel/BurritOS

Automated objdumping of test programs

This commit is contained in:
François Autin
2023-03-01 13:44:48 +01:00
parent b863315030
commit afe643170f
16 changed files with 39 additions and 48 deletions

View File

@@ -0,0 +1,12 @@
include $(TOPDIR)/Makefile.config
%.o: %.c
$(RISCV_GCC) $(RISCV_CFLAGS) -c $<
%.dump: %.o
$(RISCV_OBJCOPY) -j .text -O $(DUMP_FORMAT) $< $@
clean:
rm -rf *.o 2> /dev/null
rm -rf *.dump 2> /dev/null