diff options
-rw-r--r-- | sys/boot/pc98/btx/btx/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/boot/pc98/btx/btx/Makefile b/sys/boot/pc98/btx/btx/Makefile index 2299632..de14daa 100644 --- a/sys/boot/pc98/btx/btx/Makefile +++ b/sys/boot/pc98/btx/btx/Makefile @@ -15,6 +15,15 @@ BOOT_BTX_FLAGS=0x0 AFLAGS+= --defsym BTX_FLAGS=${BOOT_BTX_FLAGS} AFLAGS+= --defsym PC98=1 +.if defined(BTX_SERIAL) +BOOT_COMCONSOLE_PORT?= 0x238 +BOOT_COMCONSOLE_SPEED?= 9600 +B2SIOFMT?= 0x3 + +M4FLAGS+= -DBTX_SERIAL -DSIOPRT=${BOOT_COMCONSOLE_PORT} \ + -DSIOFMT=${B2SIOFMT} -DSIOSPD=${BOOT_COMCONSOLE_SPEED} +.endif + ORG= 0x9000 all: btx |