aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-02-04 16:52:07 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-02-04 16:52:07 -0800
commit97fe6232e2f5fc3c40e6a455aa5870b789949d96 (patch)
tree9a9561cae8ea9a9bf7d122048468866e38cde7f1
parentbb91cb731b6197f156a7d2c9924089e06b5f708b (diff)
downloadsyslinux.git-97fe6232e2f5fc3c40e6a455aa5870b789949d96.tar.gz
syslinux.git-97fe6232e2f5fc3c40e6a455aa5870b789949d96.tar.xz
syslinux.git-97fe6232e2f5fc3c40e6a455aa5870b789949d96.zip
MBR: produce a list file.
-rw-r--r--mbr/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbr/Makefile b/mbr/Makefile
index d96ee467..1772d14e 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -31,7 +31,7 @@ all: mbr.bin
.PRECIOUS: %.o
%.o: %.S
- $(CC) $(SFLAGS) -c -o $@ $<
+ $(CC) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $<
mbr.elf: mbr.o
$(LD) -Ttext 0x600 -e _start -o $@ $^
@@ -41,7 +41,7 @@ mbr.bin: mbr.elf checksize.pl
$(PERL) checksize.pl mbr.bin 440
tidy:
- rm -f *.o *.elf
+ rm -f *.o *.elf *.lst
-clean:
- rm -f *.o *.elf *.bin
+clean: tidy
+ rm -f *.bin