always -D NETBSD_VERS
This commit is contained in:
parent
9052a41924
commit
54b5d8e275
@ -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}/../../../..
|
S= ${.CURDIR}/../../../..
|
||||||
|
|
||||||
@ -31,6 +31,9 @@ AFLAGS+= -DASSEMBLER
|
|||||||
CPPFLAGS+= -nostdinc -I${.OBJDIR} -D_STANDALONE -I${S}
|
CPPFLAGS+= -nostdinc -I${.OBJDIR} -D_STANDALONE -I${S}
|
||||||
CFLAGS= -Os -mno-fp-regs -g
|
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
|
HAVE_GCC28!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo
|
||||||
.if (${HAVE_GCC28} != "")
|
.if (${HAVE_GCC28} != "")
|
||||||
CWARNFLAGS+= -Wno-main
|
CWARNFLAGS+= -Wno-main
|
||||||
|
@ -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 \
|
SRCS = start.S bootxx.c booted_dev.c blkdev.c prom.c prom_disp.S \
|
||||||
putstr.c panic_putstr.c
|
putstr.c panic_putstr.c
|
||||||
@ -29,9 +29,6 @@ ${PROG}: ${PROG}.sym
|
|||||||
SAMISCMAKEFLAGS= SA_INCLUDE_NET=no SA_USE_CREAD=no
|
SAMISCMAKEFLAGS= SA_INCLUDE_NET=no SA_USE_CREAD=no
|
||||||
.include "../Makefile.bootprogs"
|
.include "../Makefile.bootprogs"
|
||||||
|
|
||||||
NETBSD_VERS!=sh ${.CURDIR}/../../../../conf/osrelease.sh
|
|
||||||
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
|
|
||||||
|
|
||||||
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBKERN}
|
${PROG}.sym: ${OBJS} ${LIBSA} ${LIBKERN}
|
||||||
${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
|
${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
|
||||||
${OBJS} ${LIBSA} ${LIBKERN}
|
${OBJS} ${LIBSA} ${LIBKERN}
|
||||||
|
Loading…
Reference in New Issue
Block a user