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}
|
CLEANFILES=${FILES}
|
||||||
|
|
||||||
BOOT_COMCONSOLE_PORT?= 0x3f8
|
BOOT_COMCONSOLE_PORT?= 0x3f8
|
||||||
M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
|
AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT}
|
||||||
|
|
||||||
kgzldr.o: ${OBJS}
|
kgzldr.o: ${OBJS}
|
||||||
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
|
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
|
||||||
|
@ -27,8 +27,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
.set SIO_PRT,SIOPRT # Base port
|
|
||||||
|
|
||||||
.globl sio_putchr
|
.globl sio_putchr
|
||||||
|
|
||||||
# void sio_putchr(int c)
|
# void sio_putchr(int c)
|
||||||
|
@ -16,7 +16,7 @@ AFLAGS+=--defsym PC98=1
|
|||||||
CLEANFILES=${FILES}
|
CLEANFILES=${FILES}
|
||||||
|
|
||||||
BOOT_COMCONSOLE_PORT?= 0x238
|
BOOT_COMCONSOLE_PORT?= 0x238
|
||||||
M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
|
AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT}
|
||||||
|
|
||||||
kgzldr.o: ${OBJS}
|
kgzldr.o: ${OBJS}
|
||||||
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
|
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user