Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/distrib/pmax/instkernel Pull up revisions 1.5-1.11 (req...



details:   https://anonhg.NetBSD.org/src/rev/94f730f3bacb
branches:  netbsd-1-4
changeset: 469618:94f730f3bacb
user:      he <he%NetBSD.org@localhost>
date:      Wed Oct 20 23:05:59 1999 +0000

description:
Pull up revisions 1.5-1.11 (requested by simonb):
  Bring pmax release building machinery up-to-date.

diffstat:

 distrib/pmax/instkernel/Makefile |  22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diffs (59 lines):

diff -r 23603fb19efa -r 94f730f3bacb distrib/pmax/instkernel/Makefile
--- a/distrib/pmax/instkernel/Makefile  Wed Oct 20 23:03:53 1999 +0000
+++ b/distrib/pmax/instkernel/Makefile  Wed Oct 20 23:05:59 1999 +0000
@@ -1,5 +1,7 @@
-#      $NetBSD: Makefile,v 1.1.2.2 1999/04/17 11:12:30 simonb Exp $
+#      $NetBSD: Makefile,v 1.1.2.3 1999/10/20 23:05:59 he Exp $
 
+DISKBINDIR=    /installation/diskimage
+KERNBINDIR=    /binary/kernel
 
 IMAGE=         diskimage
 IMAGESIZE=     4096 # 512 byte blocks
@@ -13,13 +15,13 @@
 RAMDISK!=      cd ${.CURDIR}/../ramdisk; \
                printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
                ${MAKE} -s -f-
-CLEANFILES=    netbsd netbsd.gz netbsd.ecoff netbsd.ecoff.gz ${IMAGE}
+CLEANFILES=    netbsd netbsd.gz netbsd.ecoff netbsd.ecoff.gz ${IMAGE}.gz
 
 VND_DEV=       /dev/${VND}
 VND_RDEV=      /dev/r${VND}
 MOUNT_POINT?=  /mnt
 
-all:   netbsd.gz ${IMAGE}
+all:   netbsd.gz ${IMAGE}.gz
 
 netbsd.gz: ${KERN} ${RAMDISK}
        cp ${KERN} netbsd
@@ -30,7 +32,7 @@
        rm -f netbsd.gz
        gzip -9 netbsd
 
-${IMAGE}: netbsd.gz ${DESTDIR}/usr/mdec/boot
+${IMAGE}.gz: netbsd.gz ${DESTDIR}/usr/mdec/boot
        dd if=/dev/zero of=${IMAGE} count=${IMAGESIZE}
        vnconfig ${DISKTYPEARG} -v -c ${VND_DEV} ${IMAGE} ${VND_GEOM}
        ${PRELABEL}
@@ -44,9 +46,21 @@
        @echo ""
        umount ${MOUNT_POINT}
        vnconfig -u ${VND_DEV}
+       rm -f ${IMAGE}.gz
+       gzip -9 ${IMAGE}
+
+realinstall:
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
+               -m ${NONBINMODE} ${IMAGE}.gz ${RELEASEDIR}${DISKBINDIR}
+       ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -o root -g wheel \
+               -m ${BINMODE} netbsd.gz ${RELEASEDIR}${KERNBINDIR}/install.gz
 
 clean cleandir distclean:
        rm -f ${CLEANFILES}
 
+# XXX!
+depend:
+
 .include <bsd.own.mk>
 .include <bsd.obj.mk>
+.include "../Makefile.inc"



Home | Main Index | Thread Index | Old Index