summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2000-06-19 01:49:30 +0000
committermiod <miod@openbsd.org>2000-06-19 01:49:30 +0000
commitb67981b240814fee855fdbb1e858d0792826ba9a (patch)
tree66f6e31867a6ecbc6bd3c953dc6cdbd1058a7e58
parentPut more devices into standard config, add ramdisk section (diff)
downloadwireguard-openbsd-b67981b240814fee855fdbb1e858d0792826ba9a.tar.xz
wireguard-openbsd-b67981b240814fee855fdbb1e858d0792826ba9a.zip
Build only the necessary things ; look closer to etc.sparc
-rw-r--r--etc/etc.sun3/Makefile.inc26
1 files changed, 14 insertions, 12 deletions
diff --git a/etc/etc.sun3/Makefile.inc b/etc/etc.sun3/Makefile.inc
index 4566efbe80b..b061d9460e6 100644
--- a/etc/etc.sun3/Makefile.inc
+++ b/etc/etc.sun3/Makefile.inc
@@ -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
.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