From 6c9b3fcb03f5597954e00ef3303c769baf1336a6 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 27 Jun 2008 19:15:00 -0700 Subject: 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. --- mbr/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'mbr/Makefile') 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 -- cgit v1.2.1