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
This commit is contained in:
Peter Wemm 2002-09-30 20:37:58 +00:00
parent 1226f694e6
commit 425f8660a7
3 changed files with 2 additions and 4 deletions

View File

@ -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}

View File

@ -27,8 +27,6 @@
# $FreeBSD$
#
.set SIO_PRT,SIOPRT # Base port
.globl sio_putchr
# void sio_putchr(int c)

View File

@ -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}