From e0298c88e927849e7f10d4dd0318907886cd50a1 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 25 Feb 2008 14:22:54 -0800 Subject: Master boot record for GPT partition tables Beginnings of a master boot record for GPT partition tables. --- mbr/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mbr/Makefile') diff --git a/mbr/Makefile b/mbr/Makefile index a64869b1..ed33aedf 100644 --- a/mbr/Makefile +++ b/mbr/Makefile @@ -29,7 +29,7 @@ PERL = perl .SUFFIXES: .S .s .o .elf -all: mbr.bin +all: mbr.bin gptmbr.bin .PRECIOUS: %.o %.o: %.S @@ -42,6 +42,13 @@ mbr.bin: mbr.elf checksize.pl $(OBJCOPY) -O binary $< $@ $(PERL) checksize.pl mbr.bin 440 +gptmbr.elf: gptmbr.o mbr.ld + $(LD) -T mbr.ld -e _start -o $@ $< + +gptmbr.bin: gptmbr.elf checksize.pl + $(OBJCOPY) -O binary $< $@ + $(PERL) checksize.pl gptmbr.bin 424 + tidy: rm -f *.o *.elf *.lst -- cgit v1.2.1