diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-25 14:22:54 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-25 14:22:54 -0800 |
commit | e0298c88e927849e7f10d4dd0318907886cd50a1 (patch) | |
tree | 51cb21bb66041a4398bd6433db94830de3bbdeed /mbr/Makefile | |
parent | 6152d7affa392c8233b527b5800299f0b38246f0 (diff) | |
download | syslinux-e0298c88e927849e7f10d4dd0318907886cd50a1.tar.gz |
Master boot record for GPT partition tables
Beginnings of a master boot record for GPT partition tables.
Diffstat (limited to 'mbr/Makefile')
-rw-r--r-- | mbr/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 |