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.i386 Pull up revision 1.13 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/c5c6411308b8
branches:  netbsd-1-4
changeset: 469697:c5c6411308b8
user:      he <he%NetBSD.org@localhost>
date:      Thu Nov 11 21:08:05 1999 +0000

description:
Pull up revision 1.13 (requested by he):
  Improve automation for "make release", so that boot images are
  automatically built and installed in RELEASEDIR.

diffstat:

 etc/etc.i386/Makefile.inc |  26 ++++++++++++++++++++++----
 1 files changed, 22 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r a5318b6be448 -r c5c6411308b8 etc/etc.i386/Makefile.inc
--- a/etc/etc.i386/Makefile.inc Thu Nov 11 21:07:04 1999 +0000
+++ b/etc/etc.i386/Makefile.inc Thu Nov 11 21:08:05 1999 +0000
@@ -1,8 +1,26 @@
-#      $NetBSD: Makefile.inc,v 1.12 1999/02/05 03:01:52 cjs Exp $
+#      $NetBSD: Makefile.inc,v 1.12.2.1 1999/11/11 21:08:05 he Exp $
 #
 #      etc.i386/Makefile.inc -- i386-specific etc Makefile targets
 #
 
-# Set this for any kernels beyond GENERIC you want to include
-# in the distribution.
-#EXTRA_KERNELS+=
+# These are packaged and distributed
+EXTRA_KERNELS+= GENERIC_TINY
+
+# These are for use by the bootfloppy construction tools
+INST_KERNELS= INSTALL INSTALL_TINY
+
+# Build the INST_KERNELS and the boot floppies and install them
+snap_md_post:
+.for k in ${INST_KERNELS}
+       cd ${KERNCONFDIR} && config \
+               -b ${KERNOBJDIR}/${k} -s ${KERNSRCDIR} ${k}
+.ifndef UPDATE
+       cd ${KERNOBJDIR}/${k} && ${MAKE} clean
+.endif
+       cd ${KERNOBJDIR}/${k} && ${MAKE} depend && ${MAKE} ${_J}
+.endfor
+.ifndef UPDATE
+       cd ${.CURDIR}/../distrib/i386/floppies && ${MAKE} clean
+.endif
+       cd ${.CURDIR}/../distrib/i386/floppies && \
+               ${MAKE} depend && ${MAKE} ${_J} && ${MAKE} release



Home | Main Index | Thread Index | Old Index