Allow the serial console boot blocks to be built with a specific

console speed, and build some of the more common ones.
This commit is contained in:
thorpej 2003-01-14 23:53:30 +00:00
parent f6f0dbd011
commit c8763685b7
6 changed files with 37 additions and 2 deletions

View File

@ -1,9 +1,15 @@
# $NetBSD: Makefile,v 1.19 2002/04/12 23:11:58 tv Exp $
# $NetBSD: Makefile,v 1.20 2003/01/14 23:53:30 thorpej Exp $
SUBDIR= genprom installboot .WAIT
SUBDIR+= biosboot
SUBDIR+= biosboot_com0
SUBDIR+= biosboot_com0_9600
SUBDIR+= biosboot_com0_38400
SUBDIR+= biosboot_com0_57600
SUBDIR+= biosboot_com0_115200
SUBDIR+= biosboot_resetvideo
SUBDIR+= dosboot misc

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.39 2002/02/17 20:03:08 thorpej Exp $
# $NetBSD: Makefile,v 1.40 2003/01/14 23:53:31 thorpej Exp $
S= ${.CURDIR}/../../../../
@ -37,6 +37,11 @@ CPPFLAGS+= -DRESET_VIDEO
CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_PC -DDIRECT_SERIAL
.endif
.if defined(BIOSBOOT_CONSPEED)
BASE:= ${BASE}_${BIOSBOOT_CONSPEED}
CPPFLAGS+= -DCONSPEED=${BIOSBOOT_CONSPEED}
.endif
CPPFLAGS+= -DSUPPORT_USTARFS
#CPPFLAGS+= -DSUPPORT_DOSFS
CPPFLAGS+= -DPASS_BIOSGEOM

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2003/01/14 23:53:31 thorpej Exp $
BASE= biosboot_com0
BIOSBOOT_CONSPEED=115200
.include "../biosboot/Makefile"

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2003/01/14 23:53:31 thorpej Exp $
BASE= biosboot_com0
BIOSBOOT_CONSPEED=38400
.include "../biosboot/Makefile"

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2003/01/14 23:53:32 thorpej Exp $
BASE= biosboot_com0
BIOSBOOT_CONSPEED=57600
.include "../biosboot/Makefile"

View File

@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.1 2003/01/14 23:53:32 thorpej Exp $
BASE= biosboot_com0
BIOSBOOT_CONSPEED=9600
.include "../biosboot/Makefile"