Module Name:    src
Committed By:   uebayasi
Date:           Sun Nov 16 06:08:13 UTC 2014

Modified Files:
        src: build.sh

Log Message:
build.sh mkernels: Build all kernels in modular build


To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 src/build.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/build.sh
diff -u src/build.sh:1.303 src/build.sh:1.304
--- src/build.sh:1.303	Sun Nov 16 05:39:09 2014
+++ src/build.sh	Sun Nov 16 06:08:13 2014
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#	$NetBSD: build.sh,v 1.303 2014/11/16 05:39:09 uebayasi Exp $
+#	$NetBSD: build.sh,v 1.304 2014/11/16 06:08:13 uebayasi Exp $
 #
 # Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1029,6 +1029,7 @@ Usage: ${progname} [-EhnorUuxy] [-a arch
                         file \`conf'
     releasekernel=conf  Install kernel built by kernel=conf to RELEASEDIR.
     kernels             Build all kernels
+    mkernels            Build all kernels in modular build
     mkernel=conf        Build kernel with config file \`conf' in modular build
     installmodules=idir Run "make installmodules" to \`idir' to install all
                         kernel modules.
@@ -1349,6 +1350,7 @@ parseoptions()
 		iso-image-source|\
 		iso-image|\
 		kernels|\
+		mkernels|\
 		live-image|\
 		makewrapper|\
 		modules|\
@@ -1870,7 +1872,7 @@ createmakewrapper()
 	eval cat <<EOF ${makewrapout}
 #! ${HOST_SH}
 # Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from:  \$NetBSD: build.sh,v 1.303 2014/11/16 05:39:09 uebayasi Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.304 2014/11/16 06:08:13 uebayasi Exp $
 # with these arguments: ${_args}
 #
 
@@ -2262,6 +2264,11 @@ main()
 			buildkernels
 			;;
 
+		mkernels)
+			configopts="-M"
+			buildkernels
+			;;
+
 		disk-image=*)
 			arg=${op#*=}
 			diskimage "${arg}"

Reply via email to