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
#
@ -6,16 +6,20 @@
BIN3+= etc.sun3/ttyaction
.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:
cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && make
gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/netbsd \
> ${DESTDIR}/snapshot/netbsd-gen.gz
netbsd.sun3:
cd ${.CURDIR}/../sys/arch/sun3/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && \
make clean && make depend && make
netbsd-dl:
cd ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS && make
gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS/netbsd \
> ${DESTDIR}/snapshot/netbsd-dl.gz
netbsd.sun3x:
cd ${.CURDIR}/../sys/arch/sun3/conf && config GENERIC3X
cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC3X && \
make clean && make depend && make
.endif # DESTDIR check