diff options
author | rnordier <rnordier@FreeBSD.org> | 1999-01-10 14:48:05 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 1999-01-10 14:48:05 +0000 |
commit | 7f3d2452320394dccd35802fb6ca523094e5ef8a (patch) | |
tree | 299a4d4116a863a6fb06a86b43b6d7b31d97cc49 /sys/boot/i386/gptboot/Makefile | |
parent | 7694f216801b3a5fc116cc0959125be152f955a9 (diff) | |
download | FreeBSD-src-7f3d2452320394dccd35802fb6ca523094e5ef8a.zip FreeBSD-src-7f3d2452320394dccd35802fb6ca523094e5ef8a.tar.gz |
Use etc/make.conf settings for serial port and speed.
Submitted by: rvb
Reviewed by: bde
Diffstat (limited to 'sys/boot/i386/gptboot/Makefile')
-rw-r--r-- | sys/boot/i386/gptboot/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile index d3711b0..2b581ec 100644 --- a/sys/boot/i386/gptboot/Makefile +++ b/sys/boot/i386/gptboot/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.9 1998/11/05 20:52:25 rnordier Exp $ +# $Id: Makefile,v 1.10 1998/11/08 15:36:34 rnordier Exp $ PROG= boot2 NOMAN= @@ -11,9 +11,9 @@ CLEANFILES+= boot1 boot1.out boot1.o \ M4?= m4 -B2SIOPRT?= 0x3f8 +BOOT_COMCONSOLE_PORT?= 0x3f8 +BOOT_COMCONSOLE_SPEED?= 9600 B2SIOFMT?= 0x3 -B2SIODIV?= 0xc .if exists(${.OBJDIR}/../btx) BTX= ${.OBJDIR}/../btx @@ -62,8 +62,9 @@ boot2.out: boot2.o sio.o ${BTX}/lib/crt0.o boot2.o sio.o sio.o: sio.s - (cd ${.CURDIR}; ${M4} -DSIOPRT=${B2SIOPRT} \ - -DSIOFMT=${B2SIOFMT} -DSIODIV=${B2SIODIV} sio.s) | \ + (cd ${.CURDIR}; ${M4} -DSIOPRT=${BOOT_COMCONSOLE_PORT} \ + -DSIOFMT=${B2SIOFMT} \ + -DSIOSPD=${BOOT_COMCONSOLE_SPEED} sio.s) | \ ${AS} ${AFLAGS} -o ${.TARGET} install: |