Browse Source

Build only the necessary things ; look closer to etc.sparc

OPENBSD_2_8
miod 24 years ago
parent
commit
66c54c8003
1 changed files with 14 additions and 12 deletions
  1. +14
    -12
      src/etc/etc.sun3/Makefile.inc

+ 14
- 12
src/etc/etc.sun3/Makefile.inc View File

@ -1,19 +1,21 @@
# $OpenBSD: Makefile.inc,v 1.3 1997/09/21 11:50:40 deraadt Exp $
#
# $OpenBSD: Makefile.inc,v 1.4 2000/06/19 01:49:30 miod Exp $
# etc.sun3/Makefile.inc -- sun3-specific etc Makefile targets # etc.sun3/Makefile.inc -- sun3-specific etc Makefile targets
.ifdef DESTDIR .ifdef DESTDIR
snap_md: bsd-gen bsd-dl
cp -p ${.CURDIR}/etc.sun3/README ${DESTDIR}/snapshot/README
snap_md: bsd bootblocks distrib
cp ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
bsd-gen:
cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && make
gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/bsd \
> ${DESTDIR}/snapshot/bsd-gen.gz
bsd:
cd ${.CURDIR}/../sys/arch/sun3/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && \
make clean && make depend && make
bsd-dl:
cd ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS && make
gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS/bsd \
> ${DESTDIR}/snapshot/bsd-dl.gz
bootblocks:
cp ${DESTDIR}/usr/mdec/*boot* ${DESTDIR}/snapshot
distrib:
cd ${.CURDIR}/../distrib && make cleandir && \
make && make install
.endif # DESTDIR check .endif # DESTDIR check

Loading…
Cancel
Save