X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=blobdiff_plain;f=Makefile;fp=Makefile;h=09484e084a784024a3ceb7cc1bf8a0d66dafa25e;hp=f61f3401d156e6c7039d47145b4e576cc949fd49;hb=322d8fe4bf7ecd74ffb5288539efd3db828aa72a;hpb=311d50a18e3cdc236781882198671b4e1a538535 diff --git a/Makefile b/Makefile index f61f340..09484e0 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 256 -M raspi2 -serial stdio -d guest_errors $(bin): $(elf) @@ -52,3 +52,7 @@ cleandep: .PHONY: run run: $(elf) qemu-system-arm $(QEMU_FLAGS) -kernel $(elf) + +.PHONY: disasm +disasm: $(elf) + $(toolprefix)objdump -d $<