summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrahnds <rahnds@openbsd.org>1997-01-21 23:18:06 +0000
committerrahnds <rahnds@openbsd.org>1997-01-21 23:18:06 +0000
commitc90a37f3cbee9cd9a6cd422a941b46ab6b52b9d0 (patch)
tree3e158a0275219f58283d373d4d8c99db50c45515
parentIf mounting a CD filesystem as a root image, at least call inittodr. (diff)
downloadwireguard-openbsd-c90a37f3cbee9cd9a6cd422a941b46ab6b52b9d0.tar.xz
wireguard-openbsd-c90a37f3cbee9cd9a6cd422a941b46ab6b52b9d0.zip
Build bsd and binutils for powerpc ala alpha and pmax.
-rw-r--r--etc/etc.powerpc/Makefile.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/etc.powerpc/Makefile.inc b/etc/etc.powerpc/Makefile.inc
new file mode 100644
index 00000000000..5a2dd957beb
--- /dev/null
+++ b/etc/etc.powerpc/Makefile.inc
@@ -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