Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.sparc Add sparc MD parts to `make release'.



details:   https://anonhg.NetBSD.org/src/rev/1e7c703bf8bb
branches:  trunk
changeset: 477263:1e7c703bf8bb
user:      pk <pk%NetBSD.org@localhost>
date:      Mon Oct 18 20:39:01 1999 +0000

description:
Add sparc MD parts to `make release'.

diffstat:

 etc/etc.sparc/Makefile.inc |  39 ++++++++++++++++++++++++++++++++++++++-
 1 files changed, 38 insertions(+), 1 deletions(-)

diffs (50 lines):

diff -r 2fa4eb0d8b40 -r 1e7c703bf8bb etc/etc.sparc/Makefile.inc
--- a/etc/etc.sparc/Makefile.inc        Mon Oct 18 20:31:53 1999 +0000
+++ b/etc/etc.sparc/Makefile.inc        Mon Oct 18 20:39:01 1999 +0000
@@ -1,8 +1,45 @@
-#      $NetBSD: Makefile.inc,v 1.13 1999/02/05 03:01:53 cjs Exp $
+#      $NetBSD: Makefile.inc,v 1.14 1999/10/18 20:39:01 pk Exp $
 #
 #      etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
 #
 
+TOP= $(.CURDIR)/..
+.include "$(TOP)/distrib/sparc/Makefile.inc"
+
 # Set this for any kernels beyond GENERIC you want to include
 # in the distribution.
 EXTRA_KERNELS+= GENERIC_SCSI3
+BUILD_KERNELS+= INSTALL
+
+# Add sparc installation directories
+MD_INSTALLATION_DIRS= \
+       installation/miniroot installation/netboot installation/bootfs
+INSTALLATION_DIRS+=$(MD_INSTALLATION_DIRS) 
+
+snap_pre_md:
+.ifndef UPDATE
+       cd $(TOP)/distrib && ${MAKE} clean 
+.endif
+
+#
+# Install miniroot images and auxiliary scripts to the release tree
+#
+snap_md_post:
+       # make boot/miniroot images
+       (cd $(TOP)/distrib; ${MAKE})
+
+       # transfer images to release hierarchy
+.for dir in notes miniroot sparc/bootfs sparc/ramdisk
+       (cd $(TOP)/distrib/$(dir); ${MAKE} release)
+.endfor
+
+       # install boot image and installation scripts in netboot directory
+       cp -p $(DESTDIR)/usr/mdec/boot.net $(RELEASEDIR)/installation/netboot
+.for f in install.sh upgrade.sh install.sub ../sparc/install.md
+       cp -p $(TOP)/distrib/miniroot/$f $(RELEASEDIR)/installation/netboot
+.endfor
+
+       # compute checksums
+.for dir in ${MD_INSTALLATION_DIRS}
+       sh $(TOP)/distrib/sets/makesums -t ${RELEASEDIR}/${dir} '*'
+.endfor



Home | Main Index | Thread Index | Old Index