summaryrefslogtreecommitdiff
path: root/etc/etc.i386/Makefile.inc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-17 03:58:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-17 03:58:56 +0000
commite886d2ed5f458a1c669b7e01332cb294ae4cbdeb (patch)
treec2b4570421724d0f1f9b22228287ea4c64f5cb11 /etc/etc.i386/Makefile.inc
parentf4409ec46343690f2d8488e54a5731d75ae3a918 (diff)
For SHA256 hashes to be ready to go onto the install media, we must
build the sets before we build the media. While there we can get rid of DESTDIR/snapshot too, and simply install straight into RELEASEDIR. (This also ends up saving an astounding amount of traffic/latency in a nfs environment)
Diffstat (limited to 'etc/etc.i386/Makefile.inc')
-rw-r--r--etc/etc.i386/Makefile.inc25
1 files changed, 13 insertions, 12 deletions
diff --git a/etc/etc.i386/Makefile.inc b/etc/etc.i386/Makefile.inc
index 24e41f30958..7434cd5d5a4 100644
--- a/etc/etc.i386/Makefile.inc
+++ b/etc/etc.i386/Makefile.inc
@@ -1,11 +1,10 @@
-# $OpenBSD: Makefile.inc,v 1.16 2006/07/27 02:53:38 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.17 2009/04/17 03:58:53 deraadt Exp $
-.ifdef DESTDIR
-snap_md: bsd bsd.mp bootblocks notes distrib
+kernels: bsd bsd.mp bootblocks linux-notes
cp ${.CURDIR}/../sys/arch/i386/compile/GENERIC/bsd \
- ${DESTDIR}/snapshot/bsd
+ ${RELEASEDIR}/bsd
cp ${.CURDIR}/../sys/arch/i386/compile/GENERIC.MP/bsd \
- ${DESTDIR}/snapshot/bsd.mp
+ ${RELEASEDIR}/bsd.mp
bsd:
cd ${.CURDIR}/../sys/arch/i386/conf && config GENERIC
@@ -18,13 +17,15 @@ bsd.mp:
${MAKE} clean && ${MAKE} depend && exec ${MAKE}
bootblocks:
- cp ${DESTDIR}/usr/mdec/pxeboot ${DESTDIR}/snapshot
- cp ${DESTDIR}/usr/mdec/cdboot ${DESTDIR}/snapshot
- cp ${DESTDIR}/usr/mdec/cdbr ${DESTDIR}/snapshot
+ cp ${DESTDIR}/usr/mdec/pxeboot ${RELEASEDIR}
+ cp ${DESTDIR}/usr/mdec/cdboot ${RELEASEDIR}
+ cp ${DESTDIR}/usr/mdec/cdbr ${RELEASEDIR}
-notes:
- cp ${.CURDIR}/etc.i386/INSTALL.* ${DESTDIR}/snapshot
+linux-notes:
+ cp ${.CURDIR}/etc.i386/INSTALL.* ${RELEASEDIR}
-.PHONY: bsd bsd.mp bootblocks notes
+MDEXT= bsd.mp cd${OSrev}.iso cdemu${OSrev}.iso \
+ floppy${OSrev}.fs floppyB${OSrev}.fs floppyC${OSrev}.fs \
+ pxeboot cdboot cdbr INSTALL.linux
-.endif # DESTDIR check
+.PHONY: bsd bsd.mp bootblocks