Source-Changes-HG archive

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

[src/netbsd-1-5]: src/etc/etc.sparc64 pull up 1.4. approved by thorpej:



details:   https://anonhg.NetBSD.org/src/rev/fbaee85ab42c
branches:  netbsd-1-5
changeset: 489273:fbaee85ab42c
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Aug 26 01:11:38 2000 +0000

description:
pull up 1.4.  approved by thorpej:
>add ramdisk support

diffstat:

 etc/etc.sparc64/Makefile.inc |  44 ++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 42 insertions(+), 2 deletions(-)

diffs (54 lines):

diff -r 0f4570e6151d -r fbaee85ab42c etc/etc.sparc64/Makefile.inc
--- a/etc/etc.sparc64/Makefile.inc      Sat Aug 26 01:11:08 2000 +0000
+++ b/etc/etc.sparc64/Makefile.inc      Sat Aug 26 01:11:38 2000 +0000
@@ -1,8 +1,48 @@
-#      $NetBSD: Makefile.inc,v 1.2 1999/02/05 03:01:53 cjs Exp $
+#      $NetBSD: Makefile.inc,v 1.2.10.1 2000/08/26 01:11:38 mrg Exp $
 #
 #      etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
 #
 
+TOP= $(.CURDIR)/..
+
 # Set this for any kernels beyond GENERIC you want to include
 # in the distribution.
-EXTRA_KERNELS+= GENERIC64
+#EXTRA_KERNELS+= POWEROFSEVEN
+# XXX; no ramdisk install yet.
+#BUILD_KERNELS+= INSTALL
+
+
+# Add sparc64 installation directories
+MD_INSTALLATION_DIRS= \
+       installation/ramdisk installation/netboot installation/misc
+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 sparc64/ramdisk
+       (cd $(TOP)/distrib/$(dir); ${MAKE} release)
+.endfor
+
+       # install boot image and installation scripts in netboot directory
+.for f in ofwboot.net
+       cp -p $(DESTDIR)/usr/mdec/$f $(RELEASEDIR)/installation/netboot
+.endfor
+.for f in ofwboot bootblk installboot
+       cp -p $(DESTDIR)/usr/mdec/$f $(RELEASEDIR)/installation/misc
+.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