summaryrefslogtreecommitdiffstats
path: root/mbr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-27 19:15:00 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-27 19:15:00 -0700
commit6c9b3fcb03f5597954e00ef3303c769baf1336a6 (patch)
tree688c44db2524d32783321e6b8dd4908282319a38 /mbr
parent34763a8075ac5f9a7f5ea3d3e420d1efc67c4441 (diff)
downloadsyslinux-6c9b3fcb03f5597954e00ef3303c769baf1336a6.tar.gz
syslinux-6c9b3fcb03f5597954e00ef3303c769baf1336a6.tar.xz
syslinux-6c9b3fcb03f5597954e00ef3303c769baf1336a6.zip
Build _bin.c files in libinstaller; clean up B/I separation
Clean up the BSUBDIR/ISUBDIR separation further. Build _bin.c files, which are an intermediate stage toward building the installers, in the libinstaller directory, since that directory is used by all the installers anyway. That also lets us get bin2c.pl out of the root.
Diffstat (limited to 'mbr')
-rw-r--r--mbr/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/mbr/Makefile b/mbr/Makefile
index 07e0d94a..d479265c 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -30,15 +30,12 @@ PERL = perl
.SUFFIXES: .S .s .o .elf
-all: mbr.bin mbr_bin.c gptmbr.bin gptmbr_bin.c
+all: mbr.bin gptmbr.bin
.PRECIOUS: %.o
%.o: %.S
$(CC) $(SFLAGS) -Wa,-a=$*.lst -c -o $@ $<
-%_bin.c: %.bin ../bin2c.pl
- $(PERL) ../bin2c.pl syslinux_$* < $< > $@
-
mbr.elf: mbr.o mbr.ld
$(LD) $(LDFLAGS) -T mbr.ld -e _start -o $@ $<
@@ -56,7 +53,7 @@ gptmbr.bin: gptmbr.elf checksize.pl
$(PERL) checksize.pl gptmbr.bin 424
tidy dist:
- rm -f *.o *.elf *.lst *_bin.c
+ rm -f *.o *.elf *.lst
clean: tidy