summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/i386/kgzldr/Makefile2
-rw-r--r--sys/boot/i386/kgzldr/sio.s2
-rw-r--r--sys/boot/pc98/kgzldr/Makefile2
3 files changed, 2 insertions, 4 deletions
diff --git a/sys/boot/i386/kgzldr/Makefile b/sys/boot/i386/kgzldr/Makefile
index 9ed9114..539a504 100644
--- a/sys/boot/i386/kgzldr/Makefile
+++ b/sys/boot/i386/kgzldr/Makefile
@@ -13,7 +13,7 @@ BINDIR= /usr/lib
CLEANFILES=${FILES}
BOOT_COMCONSOLE_PORT?= 0x3f8
-M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
+AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT}
kgzldr.o: ${OBJS}
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
diff --git a/sys/boot/i386/kgzldr/sio.s b/sys/boot/i386/kgzldr/sio.s
index 79ea8a6..ff174eb 100644
--- a/sys/boot/i386/kgzldr/sio.s
+++ b/sys/boot/i386/kgzldr/sio.s
@@ -27,8 +27,6 @@
# $FreeBSD$
#
- .set SIO_PRT,SIOPRT # Base port
-
.globl sio_putchr
# void sio_putchr(int c)
diff --git a/sys/boot/pc98/kgzldr/Makefile b/sys/boot/pc98/kgzldr/Makefile
index ec7e33d..5e1e866 100644
--- a/sys/boot/pc98/kgzldr/Makefile
+++ b/sys/boot/pc98/kgzldr/Makefile
@@ -16,7 +16,7 @@ AFLAGS+=--defsym PC98=1
CLEANFILES=${FILES}
BOOT_COMCONSOLE_PORT?= 0x238
-M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
+AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT}
kgzldr.o: ${OBJS}
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
OpenPOWER on IntegriCloud