summaryrefslogtreecommitdiff
path: root/distrib/sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/sparc64')
-rw-r--r--distrib/sparc64/bsd.rd/Makefile8
-rw-r--r--distrib/sparc64/cdfs/Makefile6
-rw-r--r--distrib/sparc64/common/Makefile.inc12
-rw-r--r--distrib/sparc64/iso/Makefile7
-rw-r--r--distrib/sparc64/miniroot/Makefile6
-rw-r--r--distrib/sparc64/ramdisk/Makefile17
-rw-r--r--distrib/sparc64/ramdiskB/Makefile17
7 files changed, 42 insertions, 31 deletions
diff --git a/distrib/sparc64/bsd.rd/Makefile b/distrib/sparc64/bsd.rd/Makefile
index 05a21c92715..24cc990def3 100644
--- a/distrib/sparc64/bsd.rd/Makefile
+++ b/distrib/sparc64/bsd.rd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.19 2009/04/12 16:12:53 deraadt Exp $
+# $OpenBSD: Makefile,v 1.20 2009/04/17 03:58:55 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -109,9 +109,11 @@ unconfig:
.PRECIOUS: ${IMAGE}
+.ifdef RELEASEDIR
install:
.ifndef NOBSDRD
- cp bsd.rd ${DESTDIR}/snapshot/bsd.rd
+ cp bsd.rd ${RELEASEDIR}
+.endif
.endif
${CBIN}.conf: ${LISTS}
@@ -128,7 +130,7 @@ do_files:
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
REV=${REV} TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \
- sh ${UTILS}/runlist.sh ${LISTS}
+ RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS}
rm ${MOUNT_POINT}/${CBIN}
clean cleandir:
diff --git a/distrib/sparc64/cdfs/Makefile b/distrib/sparc64/cdfs/Makefile
index 397e9cc5dfe..47d509ce56a 100644
--- a/distrib/sparc64/cdfs/Makefile
+++ b/distrib/sparc64/cdfs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2008/03/04 05:37:51 deraadt Exp $
+# $OpenBSD: Makefile,v 1.13 2009/04/17 03:58:55 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -32,8 +32,10 @@ ${CDROM}:
vnconfig -u svnd0
mksuncd f ${.OBJDIR}/${CDROM} ${.OBJDIR}/../miniroot/miniroot${REV}.fs
+.ifdef RELEASEDIR
install:
- cp ${CDROM} ${DESTDIR}/snapshot
+ cp ${CDROM} ${RELEASEDIR}
+.endif
clean cleandir:
/bin/rm -rf ${CDROM} ${.OBJDIR}/cd-dir
diff --git a/distrib/sparc64/common/Makefile.inc b/distrib/sparc64/common/Makefile.inc
index c81e0ee89b5..05927f7dc2b 100644
--- a/distrib/sparc64/common/Makefile.inc
+++ b/distrib/sparc64/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.10 2008/12/02 01:01:07 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.11 2009/04/17 03:58:55 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -35,7 +35,7 @@ ${FS}: bsd.rd
mount ${VND_DEV} ${MOUNT_POINT}
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \
- sh ${UTILS}/runlist.sh ${LISTFLOPPY}
+ RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTFLOPPY}
/usr/mdec/installboot -v ${DESTDIR}/usr/mdec/bootblk ${VND_CRDEV}
@echo ""
@df -i ${MOUNT_POINT}
@@ -77,11 +77,13 @@ unconfig:
.PRECIOUS: ${IMAGE}
+.ifdef RELEASEDIR
install:
.ifndef NOBSDRD
- cp bsd.rd ${DESTDIR}/snapshot/bsd.rd
+ cp bsd.rd ${RELEASEDIR}
+.endif
+ cp ${FS} ${RELEASEDIR}
.endif
- cp ${FS} ${DESTDIR}/snapshot/${FS}
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -E -D ${BSDSRCDIR} -L ${DESTDIR}/usr/lib \
@@ -94,7 +96,7 @@ do_files:
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
REV=${REV} TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \
- sh ${UTILS}/runlist.sh ${LISTS}
+ RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS}
rm ${MOUNT_POINT}/${CBIN}
clean cleandir:
diff --git a/distrib/sparc64/iso/Makefile b/distrib/sparc64/iso/Makefile
index 4d79b46acc2..b9986fdac8d 100644
--- a/distrib/sparc64/iso/Makefile
+++ b/distrib/sparc64/iso/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2008/08/25 17:18:55 deraadt Exp $
+# $OpenBSD: Makefile,v 1.7 2009/04/17 03:58:55 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -48,6 +48,11 @@ ${CDROM}: ${BASE} ${XBASE}
install:
cp ${CDROM} ${RELDIR}/
+ # update the SHA256 file
+ grep -v ${CDROM} ${RELDIR}/SHA256 > ${RELDIR}/SHA256.new
+ sum -a sha256 ${CDROM} >> ${RELDIR}/SHA256.new
+ sort ${RELDIR}/SHA256.new > ${RELDIR}/SHA256
+ rm ${RELDIR}/SHA256.new
clean cleandir:
/bin/rm -rf ${CDROM} ${.OBJDIR}/cd-dir
diff --git a/distrib/sparc64/miniroot/Makefile b/distrib/sparc64/miniroot/Makefile
index c0256ba43e7..60cfabb868e 100644
--- a/distrib/sparc64/miniroot/Makefile
+++ b/distrib/sparc64/miniroot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2007/02/25 04:41:07 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 2009/04/17 03:58:55 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -51,8 +51,10 @@ unconfig:
-umount -f /mnt
-vnconfig -u /dev/svnd0a
+.ifdef RELEASEDIR
install:
- cp ${TARGET} ${DESTDIR}/snapshot/
+ cp ${TARGET} ${RELEASEDIR}
+.endif
clean:
rm -f ${TARGET}
diff --git a/distrib/sparc64/ramdisk/Makefile b/distrib/sparc64/ramdisk/Makefile
index 41061d4f34f..13c20906007 100644
--- a/distrib/sparc64/ramdisk/Makefile
+++ b/distrib/sparc64/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.20 2008/12/02 01:01:08 deraadt Exp $
+# $OpenBSD: Makefile,v 1.21 2009/04/17 03:58:55 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -110,9 +110,6 @@ unconfig:
.PRECIOUS: ${IMAGE}
-install:
- cp ${FLOPPY} ${DESTDIR}/snapshot/
-
${CBIN}.conf: ${LISTS}
awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf
@@ -124,17 +121,19 @@ ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
do_files:
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
- TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
- REV=${REV} ARCHDIR=${.CURDIR}/.. TARGDIR=${MOUNT_POINT} \
- UTILS=${UTILS} sh ${UTILS}/runlist.sh ${LISTS}
+ TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} REV=${REV} \
+ ARCHDIR=${.CURDIR}/.. TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \
+ RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS}
rm ${MOUNT_POINT}/${CBIN}
clean cleandir:
/bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
*.o *.lo *.c bsd ${BSD_RD} bsd.gz ${FLOPPY} elfrdsetroot
-beforeinstall:
- cp ${BSD.RD} ${DESTDIR}/snapshot
+.ifdef RELEASEDIR
+install:
+ cp ${FLOPPY} ${BSD.RD} ${RELEASEDIR}
+.endif
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
diff --git a/distrib/sparc64/ramdiskB/Makefile b/distrib/sparc64/ramdiskB/Makefile
index 8fb309fe0f1..8c289a3fce4 100644
--- a/distrib/sparc64/ramdiskB/Makefile
+++ b/distrib/sparc64/ramdiskB/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2008/12/02 01:01:08 deraadt Exp $
+# $OpenBSD: Makefile,v 1.15 2009/04/17 03:58:55 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -110,9 +110,6 @@ unconfig:
.PRECIOUS: ${IMAGE}
-install:
- cp ${FLOPPY} ${DESTDIR}/snapshot/
-
${CBIN}.conf: ${LISTS}
awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf
@@ -124,17 +121,19 @@ ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
do_files:
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
- TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
- REV=${REV} ARCHDIR=${.CURDIR}/.. TARGDIR=${MOUNT_POINT} \
- UTILS=${UTILS} sh ${UTILS}/runlist.sh ${LISTS}
+ TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} REV=${REV} \
+ ARCHDIR=${.CURDIR}/.. TARGDIR=${MOUNT_POINT} UTILS=${UTILS} \
+ RELEASEDIR=${RELEASEDIR} sh ${UTILS}/runlist.sh ${LISTS}
rm ${MOUNT_POINT}/${CBIN}
clean cleandir:
/bin/rm -f core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
*.o *.lo *.c bsd ${BSD_RD} bsd.gz ${FLOPPY} elfrdsetroot
-beforeinstall:
- cp ${BSD.RD} ${DESTDIR}/snapshot
+.ifdef RELEASEDIR
+install:
+ cp ${FLOPPY} ${BSD.RD} ${RELEASEDIR}
+.endif
.include <bsd.obj.mk>
.include <bsd.subdir.mk>