summaryrefslogtreecommitdiff
path: root/etc/etc.amd64/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.amd64/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.amd64/Makefile.inc')
-rw-r--r--etc/etc.amd64/Makefile.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/etc/etc.amd64/Makefile.inc b/etc/etc.amd64/Makefile.inc
index a99dd5814b0..6b10c491539 100644
--- a/etc/etc.amd64/Makefile.inc
+++ b/etc/etc.amd64/Makefile.inc
@@ -1,11 +1,10 @@
-# $OpenBSD: Makefile.inc,v 1.7 2006/07/27 02:53:55 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2009/04/17 03:58:53 deraadt Exp $
-.ifdef DESTDIR
-snap_md: bsd bsd.mp bootblocks distrib
+kernels: bsd bsd.mp bootblocks
cp ${.CURDIR}/../sys/arch/amd64/compile/GENERIC/bsd \
- ${DESTDIR}/snapshot/bsd
+ ${RELEASEDIR}/bsd
cp ${.CURDIR}/../sys/arch/amd64/compile/GENERIC.MP/bsd \
- ${DESTDIR}/snapshot/bsd.mp
+ ${RELEASEDIR}/bsd.mp
bsd:
cd ${.CURDIR}/../sys/arch/amd64/conf && config GENERIC
@@ -18,10 +17,11 @@ 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}
-.PHONY: bsd bsd.mp bootblocks
+MDEXT= bsd.mp cd${OSrev}.iso floppy${OSrev}.fs \
+ pxeboot cdboot cdbr
-.endif # DESTDIR check
+.PHONY: bsd bsd.mp bootblocks