Consult osrelease.sh and pass down NETBSD_VERS
This commit is contained in:
parent
74f36b2497
commit
c33589db84
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.15 1998/03/28 00:21:35 thorpej Exp $
|
# $NetBSD: Makefile,v 1.16 1998/10/15 00:52:38 ross Exp $
|
||||||
|
|
||||||
PROG = bootxx
|
PROG = bootxx
|
||||||
|
|
||||||
|
@ -22,6 +22,9 @@ ${PROG}: ${PROG}.nosym ${HEADERSIZE_PROG}
|
||||||
|
|
||||||
.include "../Makefile.bootprogs"
|
.include "../Makefile.bootprogs"
|
||||||
|
|
||||||
|
NETBSD_VERS!=sh ${.CURDIR}/../../../../conf/osrelease.sh
|
||||||
|
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
|
||||||
|
|
||||||
${PROG}.sym: ${OBJS} ${LIBKERN}
|
${PROG}.sym: ${OBJS} ${LIBKERN}
|
||||||
${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym ${OBJS} \
|
${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym ${OBJS} \
|
||||||
${LIBKERN}
|
${LIBKERN}
|
||||||
|
|
Loading…
Reference in New Issue