X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=blobdiff_plain;f=Makefile;h=3b1243817b92a8712d8d21fe32f9f97558402344;hp=f61f3401d156e6c7039d47145b4e576cc949fd49;hb=e848811902a51b67dedb6f6325dda19a6f21e820;hpb=4cdb0feb633bc6181644704cea8f18368b5bcfd1 diff --git a/Makefile b/Makefile index f61f340..3b12438 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ CFLAGS = $(arch) $(warn) $(opt) $(dbg) $(gccopt) $(inc) $(def) ASFLAGS = $(arch) $(dbg) $(inc) LDFLAGS = -nostdlib -T rpikern.ld -print-gc-sections -QEMU_FLAGS = -m 256 -M raspi2 -serial stdio +QEMU_FLAGS = -m 1024 -M raspi2 -serial stdio -d guest_errors $(bin): $(elf) @@ -52,3 +52,12 @@ cleandep: .PHONY: run run: $(elf) qemu-system-arm $(QEMU_FLAGS) -kernel $(elf) + +.PHONY: disasm +disasm: $(elf) + $(toolprefix)objdump -d $< + +.PHONY: install +install: $(bin) $(elf) + cp $(bin) /srv/tftp/$(bin) + cp $(elf) /srv/tftp/$(elf)