Build bsd and binutils for powerpc ala alpha and pmax.
authorrahnds <rahnds@openbsd.org>
Tue, 21 Jan 1997 23:18:06 +0000 (23:18 +0000)
committerrahnds <rahnds@openbsd.org>
Tue, 21 Jan 1997 23:18:06 +0000 (23:18 +0000)
etc/etc.powerpc/Makefile.inc [new file with mode: 0644]

diff --git a/etc/etc.powerpc/Makefile.inc b/etc/etc.powerpc/Makefile.inc
new file mode 100644 (file)
index 0000000..5a2dd95
--- /dev/null
@@ -0,0 +1,20 @@
+#
+#      etc.powerpc/Makefile.inc -- powerpc-specific etc Makefile targets
+#
+#      $Id: Makefile.inc,v 1.1 1997/01/21 23:18:06 rahnds Exp $
+
+.ifdef DESTDIR
+snap_md: binutils
+
+binutils:
+       cd ${DESTDIR} && tar cf - usr/*openbsd* \
+           | ${GZIP} ${GZIPFLAGS} > snapshot/usr.binutils.tar${GZIPEXT}
+
+bsd:
+       cd ${.CURDIR}/../sys/arch/powerpc/conf && config GENERIC
+       cd ${.CURDIR}/../sys/arch/powerpc/compile/GENERIC && \
+           make clean && make depend && make
+       cp ${.CURDIR}/../sys/arch/powerpc/compile/GENERIC/bsd \
+           ${DESTDIR}/snapshot/bsd
+
+.endif # DESTDIR check