Build both sun3 and sun3x kernels

This commit is contained in:
gwr 1998-02-11 19:19:53 +00:00
parent 78a878423e
commit 1a78005b10
1 changed files with 14 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.3 1997/12/20 01:56:51 gwr Exp $ # $NetBSD: Makefile.inc,v 1.4 1998/02/11 19:19:53 gwr Exp $
# #
# etc.sun3/Makefile.inc -- sun3-specific etc Makefile targets # etc.sun3/Makefile.inc -- sun3-specific etc Makefile targets
# #
@ -6,16 +6,20 @@
BIN3+= etc.sun3/ttyaction BIN3+= etc.sun3/ttyaction
.ifdef DESTDIR .ifdef DESTDIR
snap_md: netbsd-gen netbsd-dl snap_md: netbsd.sun3 netbsd.sun3x
cp ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/netbsd \
${DESTDIR}/snapshot/netbsd.sun3
cp ${.CURDIR}/../sys/arch/sun3/compile/GENERIC3X/netbsd \
${DESTDIR}/snapshot/netbsd.sun3x
netbsd-gen: netbsd.sun3:
cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && make cd ${.CURDIR}/../sys/arch/sun3/conf && config GENERIC
gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/netbsd \ cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && \
> ${DESTDIR}/snapshot/netbsd-gen.gz make clean && make depend && make
netbsd-dl: netbsd.sun3x:
cd ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS && make cd ${.CURDIR}/../sys/arch/sun3/conf && config GENERIC3X
gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS/netbsd \ cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC3X && \
> ${DESTDIR}/snapshot/netbsd-dl.gz make clean && make depend && make
.endif # DESTDIR check .endif # DESTDIR check