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:
parent
1226f694e6
commit
425f8660a7
@ -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}
|
||||
|
@ -27,8 +27,6 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
.set SIO_PRT,SIOPRT # Base port
|
||||
|
||||
.globl sio_putchr
|
||||
|
||||
# void sio_putchr(int c)
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user