diff options
author | rnordier <rnordier@FreeBSD.org> | 1999-07-20 01:19:23 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 1999-07-20 01:19:23 +0000 |
commit | c1740a7c668b438f5027e9d9c522cc524213f0f7 (patch) | |
tree | f8d23d0eb82939e26a61112c17c788c4819693cd /sys/boot/i386/gptboot/Makefile | |
parent | c5c37d67da0c5afcd5bc559d39f50846002f89a3 (diff) | |
download | FreeBSD-src-c1740a7c668b438f5027e9d9c522cc524213f0f7.zip FreeBSD-src-c1740a7c668b438f5027e9d9c522cc524213f0f7.tar.gz |
Reintroduce LBA (cyl > 1023) support in the bootblocks, enabled by
means of a build option.
Diffstat (limited to 'sys/boot/i386/gptboot/Makefile')
-rw-r--r-- | sys/boot/i386/gptboot/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile index d10aa12..25ec504 100644 --- a/sys/boot/i386/gptboot/Makefile +++ b/sys/boot/i386/gptboot/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.11 1999/01/10 14:48:03 rnordier Exp $ +# $Id: Makefile,v 1.12 1999/04/05 07:24:51 rnordier Exp $ PROG= boot2 NOMAN= @@ -11,6 +11,9 @@ CLEANFILES+= boot1 boot1.out boot1.o \ M4?= m4 +# A value of 0x80 enables LBA support. +B1FLAGS= 0 + BOOT_COMCONSOLE_PORT?= 0x3f8 BOOT_COMCONSOLE_SPEED?= 9600 B2SIOFMT?= 0x3 @@ -41,7 +44,7 @@ boot1.out: boot1.o ${LD} ${LDFLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} boot1.o boot1.o: boot1.m4 boot1.s - (cd ${.CURDIR}; ${M4} boot1.m4 boot1.s) | \ + (cd ${.CURDIR}; ${M4} -DFLAGS=${B1FLAGS} boot1.m4 boot1.s) | \ ${AS} ${AFLAGS} -o ${.TARGET} boot2: boot2.ldr boot2.bin |