Source-Changes-HG archive

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

[src/netbsd-1-4]: src/etc/etc.sun3 pullup 1.8->1.9 (gwr)



details:   https://anonhg.NetBSD.org/src/rev/75ba6ca7c7f0
branches:  netbsd-1-4
changeset: 468760:75ba6ca7c7f0
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jun 21 03:46:28 1999 +0000

description:
pullup 1.8->1.9 (gwr)

diffstat:

 etc/etc.sun3/Makefile.inc |  45 ++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 40 insertions(+), 5 deletions(-)

diffs (54 lines):

diff -r 942ea9a09f33 -r 75ba6ca7c7f0 etc/etc.sun3/Makefile.inc
--- a/etc/etc.sun3/Makefile.inc Mon Jun 21 03:44:00 1999 +0000
+++ b/etc/etc.sun3/Makefile.inc Mon Jun 21 03:46:28 1999 +0000
@@ -1,10 +1,45 @@
-#      $NetBSD: Makefile.inc,v 1.8 1999/02/05 03:01:53 cjs Exp $
+#      $NetBSD: Makefile.inc,v 1.8.2.1 1999/06/21 03:46:28 perry Exp $
 #
 #      etc.sun3/Makefile.inc -- sun3-specific etc Makefile targets
 #
 
-# Set this for any kernels beyond GENERIC you want to include
-# in the distribution.
-EXTRA_KERNELS+= GENERIC3X
+BIN3+= etc.sun3/ttyaction
+
+# These are put in ${RELEASEDIR} by "make release" in distrib/sun3
+# after it builds and patches in the installation ramdisk image.
+RAMDISK_KERNELS= \
+ RAMDISK RAMDISK3X
+
+# These are just built and copied to the release area.
+OTHER_KERNELS= \
+ GENERIC GENERIC3X \
+ INSTALL INSTALL3X \
+ DISKLESS DISKLESS3X
+
+ALL_KERNELS = $(RAMDISK_KERNELS) $(OTHER_KERNELS)
 
-BIN3+= etc.sun3/ttyaction
+# Build all the kernels, then copy all but ramdisk kernels
+# to the release area.  Those are done by snap_md_post.
+snap_kern:
+.for configfile in ${ALL_KERNELS}
+       cd ${KERNCONFDIR} && config \
+               -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile}
+.ifndef UPDATE
+       cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean 
+.endif
+       cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J}
+.endfor # EXTRA_KERNELS
+.for configfile in ${OTHER_KERNELS}
+       cd ${KERNOBJDIR}/${configfile} && gzip -c -9 < netbsd > \
+               ${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz
+.endfor # EXTRA_KERNELS
+
+# Build the ramdisk image and patch it into the ramdisk kernels.
+# Build the miniroot, etc. and copy all to the release area.
+snap_md_post:
+.ifndef UPDATE
+       cd ${.CURDIR}/../distrib/sun3 && ${MAKE} clean
+.endif
+       cd ${.CURDIR}/../distrib/sun3 && \
+         ${MAKE} depend && ${MAKE} ${_J} && ${MAKE} release
+



Home | Main Index | Thread Index | Old Index