summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-07-05 21:08:56 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-07-05 21:08:56 -0400
commit9bcc527d2ca52d54058ac1f98ba5ddc99d053a4a (patch)
tree3b2c4d82ff8acb2500bc1852b4a5e139170249f4 /Makefile
parent2fda7cbb234a2966599d1de135f55aece69220c6 (diff)
Ensure proper alignment of subsections.
Also, do a better job of halting build on a failure in checkrom.py
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b4dcd8e..70b0a3e 100644
--- a/Makefile
+++ b/Makefile
@@ -103,10 +103,10 @@ $(OUT)rom16.o: $(OUT)romlayout16.o $(OUT)rom32.notreloc.o $(OUT)rombios16.lds
$(OUT)rom32.o: $(OUT)rom16.o $(OUT)romlayout32.o $(OUT)rombios32.lds
@echo " Linking $@"
$(Q)ld -T $(OUT)rombios32.lds $(OUT)rom16.o $(OUT)romlayout32.o -o $@
- $(Q)nm $@ | ./tools/checkrom.py
$(OUT)bios.bin.elf: $(OUT)rom32.o
- @echo " Stripping $<"
+ @echo " Prepping $@"
+ $(Q)nm $< | ./tools/checkrom.py
$(Q)strip $< -o $@
$(OUT)bios.bin: $(OUT)bios.bin.elf