summaryrefslogtreecommitdiff
path: root/etc/etc.powerpc/Makefile.inc
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-09 13:54:59 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-09 13:54:59 +0000
commit6652364e6ba4d4b53fb0e8c05db8becb8d0c2e86 (patch)
treece74748e96b8d224bce490d03cf58099e07a2bf7 /etc/etc.powerpc/Makefile.inc
parentb24b46c8dfadbf17d2002862b5bb68906de977f6 (diff)
build third kernel/boot floppy (for now).
Diffstat (limited to 'etc/etc.powerpc/Makefile.inc')
-rw-r--r--etc/etc.powerpc/Makefile.inc18
1 files changed, 16 insertions, 2 deletions
diff --git a/etc/etc.powerpc/Makefile.inc b/etc/etc.powerpc/Makefile.inc
index e4705124b6a..5dbd3753b8d 100644
--- a/etc/etc.powerpc/Makefile.inc
+++ b/etc/etc.powerpc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.7 1998/07/19 19:42:54 rahnds Exp $
+# $OpenBSD: Makefile.inc,v 1.8 1998/09/09 13:54:58 rahnds Exp $
# etc.powerpc/Makefile.inc -- powerpc-specific etc Makefile targets
.ifdef DESTDIR
@@ -15,8 +15,13 @@ bsd:
make clean && make depend && make
cp ${.CURDIR}/../sys/arch/powerpc/compile/DDBOFW/bsd \
${DESTDIR}/snapshot/bsdofw
+ cd ${.CURDIR}/../sys/arch/powerpc/conf && config MIX
+ cd ${.CURDIR}/../sys/arch/powerpc/compile/MIX && \
+ make clean && make depend && make
+ cp ${.CURDIR}/../sys/arch/powerpc/compile/MIX/bsd \
+ ${DESTDIR}/snapshot/bsdmix
-# knows about bsdofw.rd and bsd.rd
+# knows about bsd.rd, bsdofw.rd and bsdmix.rd
distrib:
cp ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/snapshot/ofwboot
cd ${.CURDIR}/../distrib && make cleandir && \
@@ -39,6 +44,15 @@ distrib:
cp ${DESTDIR}/usr/mdec/boot.mac ${DESTDIR}/snapshot/bootofw
mkisofs -r ${DESTDIR}/snapshot/bootofw > ${DESTDIR}/snapshot/bootofw.fs
rm -rf ${DESTDIR}/snapshot/bootofw
+ #
+ mkdir ${DESTDIR}/snapshot/bootmix
+ cp ${DESTDIR}/snapshot/bsdmix.rd ${DESTDIR}/snapshot/bootmix/bsdmix.rd
+ strip ${DESTDIR}/snapshot/bootmix/bsdmix.rd
+ gzip -9 ${DESTDIR}/snapshot/bootmix/bsdmix.rd
+ mv ${DESTDIR}/snapshot/bootmix/bsdmix.rd.gz ${DESTDIR}/snapshot/bootmix/bsd
+ cp ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/snapshot/bootmix
+ mkisofs -r ${DESTDIR}/snapshot/bootmix > ${DESTDIR}/snapshot/bootmix.fs
+ rm -rf ${DESTDIR}/snapshot/bootmix
.endif # DESTDIR check