From 7f3d2452320394dccd35802fb6ca523094e5ef8a Mon Sep 17 00:00:00 2001 From: rnordier Date: Sun, 10 Jan 1999 14:48:05 +0000 Subject: Use etc/make.conf settings for serial port and speed. Submitted by: rvb Reviewed by: bde --- sys/boot/i386/gptboot/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'sys/boot/i386/gptboot') 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: -- cgit v1.1