summaryrefslogtreecommitdiff
path: root/etc/etc.alpha
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-01-19 22:29:24 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-01-19 22:29:24 +0000
commit4eceda9a7bcd3f63723c96c36646491b65d260f2 (patch)
tree072c6831dd56d6da091a7bbd50ad2ae55317067c /etc/etc.alpha
parent9e24d4b5590d96b8f3df0e25988a95e72ae8a366 (diff)
add Makefile.inc for tar'ing also the binutils tree (/usr/*-openbsd-*)
then making a snapshot - also add a target for creating and copying the GENERIC kernel
Diffstat (limited to 'etc/etc.alpha')
-rw-r--r--etc/etc.alpha/Makefile.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/etc.alpha/Makefile.inc b/etc/etc.alpha/Makefile.inc
new file mode 100644
index 00000000000..0de93a422db
--- /dev/null
+++ b/etc/etc.alpha/Makefile.inc
@@ -0,0 +1,21 @@
+#
+# etc.alpha/Makefile.inc -- alpha-specific etc Makefile targets
+#
+# $Id: Makefile.inc,v 1.1 1997/01/19 22:29:23 graichen Exp $
+
+.ifdef DESTDIR
+# XXX - bsd will come then we have a GENERIC kernel
+snap_md: binutils
+
+binutils:
+ cd ${DESTDIR} && tar cf - usr/*openbsd* \
+ | ${SNAP_GZIP_CMD} > snapshot/usr.binutils.tar${SNAP_GZIP_EXT}
+
+bsd:
+ cd ${.CURDIR}/../sys/arch/alpha/conf && config GENERIC
+ cd ${.CURDIR}/../sys/arch/alpha/compile/GENERIC && \
+ make clean && make depend && make
+ cp ${.CURDIR}/../sys/arch/alpha/compile/GENERIC/bsd \
+ ${DESTDIR}/snapshot/bsd
+
+.endif # DESTDIR check