- also create intel hex

git-svn-id: http://moon:8086/svn/mips@51 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2015-06-14 07:48:18 +00:00
parent 239f2b0a4a
commit a1f6b2b5fe
2 changed files with 49 additions and 1 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ test: libsys test.c ../libsys/irq.c ../libsys/kernel.S ../libsys/xcpt.c
$(LD) $(LFLAGS) $(LIB_DIRS) startup.o kernel.o irq.o xcpt.o libsys.o test.o -o $@.elf $(LIBS) >$@.map
$(OBJDUMP) -D $@.elf > $@.dis
$(OBJCOPY) $@.elf -j ROM --output-target=binary $@.ROM.bin
$(OBJCOPY) -O srec $@.elf $@.srec
$(OBJCOPY) -O ihex -I binary $@.ROM.bin $@.ihex
$(ROMGEN) $@.ROM.bin 11 $(ENDIAN_FLAGS)
clean: