always -D NETBSD_VERS

This commit is contained in:
cgd 1999-04-05 22:03:48 +00:00
parent 9052a41924
commit 54b5d8e275
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bootprogs,v 1.11 1999/04/05 04:38:27 cgd Exp $
# $NetBSD: Makefile.bootprogs,v 1.12 1999/04/05 22:03:48 cgd Exp $
S= ${.CURDIR}/../../../..
@ -31,6 +31,9 @@ AFLAGS+= -DASSEMBLER
CPPFLAGS+= -nostdinc -I${.OBJDIR} -D_STANDALONE -I${S}
CFLAGS= -Os -mno-fp-regs -g
NETBSD_VERS!=sh ${.CURDIR}/../../../../conf/osrelease.sh
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
HAVE_GCC28!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo
.if (${HAVE_GCC28} != "")
CWARNFLAGS+= -Wno-main

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bootxx,v 1.1 1999/04/02 03:34:09 cgd Exp $
# $NetBSD: Makefile.bootxx,v 1.2 1999/04/05 22:03:48 cgd Exp $
SRCS = start.S bootxx.c booted_dev.c blkdev.c prom.c prom_disp.S \
putstr.c panic_putstr.c
@ -29,9 +29,6 @@ ${PROG}: ${PROG}.sym
SAMISCMAKEFLAGS= SA_INCLUDE_NET=no SA_USE_CREAD=no
.include "../Makefile.bootprogs"
NETBSD_VERS!=sh ${.CURDIR}/../../../../conf/osrelease.sh
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBKERN}
${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
${OBJS} ${LIBSA} ${LIBKERN}