summaryrefslogtreecommitdiff
path: root/etc/etc.wgrisc/Makefile.inc
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1997-04-09 09:04:57 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1997-04-09 09:04:57 +0000
commitd7d2373c481e04dc9710d7b18c517767cd54bd3c (patch)
treee3de9d1d9258a93788961099a936b5e24d6a1488 /etc/etc.wgrisc/Makefile.inc
parent3b627c3457e39f1d9441b7b18a512cacc4bb9590 (diff)
wgrisc etc stuff
Diffstat (limited to 'etc/etc.wgrisc/Makefile.inc')
-rw-r--r--etc/etc.wgrisc/Makefile.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/etc.wgrisc/Makefile.inc b/etc/etc.wgrisc/Makefile.inc
new file mode 100644
index 00000000000..91e155062c6
--- /dev/null
+++ b/etc/etc.wgrisc/Makefile.inc
@@ -0,0 +1,22 @@
+# $OpenBSD: Makefile.inc,v 1.1 1997/04/09 09:04:46 pefo Exp $
+#
+# etc.arc/Makefile.inc -- arc-specific etc Makefile targets
+
+.ifdef DESTDIR
+
+snap_md: binutils bsd
+
+binutils:
+ cd ${DESTDIR} && tar cf - usr/*openbsd* \
+ | ${GZIP} ${GZIPFLAGS} > snapshot/usr.binutils.tar${GZIPEXT}
+
+bsd:
+ cd ${.CURDIR}/../sys/arch/arc/conf && config GENERIC
+ cd ${.CURDIR}/../sys/arch/arc/compile/GENERIC && \
+ make clean && make depend && make
+ cp ${.CURDIR}/../sys/arch/arc/compile/GENERIC/bsd \
+ ${DESTDIR}/snapshot/bsd
+ cp ${.CURDIR}/../sys/arch/arc/compile/GENERIC/bsd.ecoff \
+ ${DESTDIR}/snapshot/bsd.ecoff
+
+.endif