NetBSD-Bugs archive

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

Re: kern/41668: MONOLITHIC should probably also be included in HEAD builds



ad%NetBSD.org@localhost wrote:

> The monolithic kernel an aid for people developing core kernel code,
> compiling their own kernels, and generally playing about in areas where one
> can shoot oneself in the foot rather easily.  I have never had the need for
> it but I can see the utility.
> 
> When considered in the frame of a NetBSD release it offers nothing. 
> Releases are all about a shipped product for end users ... unless the
> landscape has changed so dramatically that releases are all about us
> hackers and our toys, which would be a desperately sad state of affairs.

Is it acceptable for you to add a MONOLITHIC kernel binary to
only -current (HEAD) builds?

We can also add "ALL" kernel to a build list (but not in releasedir)
with the same way.

Index: etc/etc.i386/Makefile.inc
===================================================================
RCS file: /cvsroot/src/etc/etc.i386/Makefile.inc,v
retrieving revision 1.63
diff -u -r1.63 Makefile.inc
--- etc/etc.i386/Makefile.inc   16 Jul 2009 10:43:23 -0000      1.63
+++ etc/etc.i386/Makefile.inc   19 Jul 2009 18:31:56 -0000
@@ -21,6 +21,14 @@
 # BUILD_KERNELS+=      INSTALL_TINY
 # BUILD_KERNELS+=      INSTALL_PS2
 
+# -current only builds for development
+.if !empty(DISTRIBVER:M*.99.*)
+# for current users to test kernels without updating modules
+KERNEL_SETS+=  MONOLITHIC
+# for regression test
+BUILD_KERNELS+=        ALL
+.endif
+
 INSTALLATION_DIRS+=    installation/misc
 INSTALLATION_DIRS+=    installation/cdrom
 INSTALLATION_DIRS+=    installation/floppy

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index