aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-09-30 20:37:58 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-09-30 20:37:58 +0000
commit425f8660a7b1fba71630919f6aaff1e9d754a8b0 (patch)
treea5f76d50f7bd9af22010aaab168d44d0ef5eddf2 /sys/boot
parent1226f694e66c1af1593fa0fc5f30e72932266b3b (diff)
downloadsrc-425f8660a7b1fba71630919f6aaff1e9d754a8b0.tar.gz
src-425f8660a7b1fba71630919f6aaff1e9d754a8b0.zip
Use as's --defsym switch to compensate for the loss of the M4 substitution
of SIOPRT which broke kgzldr and therefore make release. Pointed out by: murray
Notes
Notes: svn path=/head/; revision=104234
Diffstat (limited to 'sys/boot')
-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 9ed9114c1866..539a50480767 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 79ea8a666b1a..ff174eb0b71b 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 ec7e33d19d76..5e1e866e8567 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}