Source-Changes-HG archive

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

[src/trunk]: src build.sh mkernels: Build all kernels in modular build



details:   https://anonhg.NetBSD.org/src/rev/4c690d96c3ee
branches:  trunk
changeset: 803910:4c690d96c3ee
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Nov 16 06:08:13 2014 +0000

description:
build.sh mkernels: Build all kernels in modular build

diffstat:

 build.sh |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r 09ac0f7ecf72 -r 4c690d96c3ee build.sh
--- a/build.sh  Sun Nov 16 05:46:27 2014 +0000
+++ b/build.sh  Sun Nov 16 06:08:13 2014 +0000
@@ -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 @@
                         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 @@
                iso-image-source|\
                iso-image|\
                kernels|\
+               mkernels|\
                live-image|\
                makewrapper|\
                modules|\
@@ -1870,7 +1872,7 @@
        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 @@
                        buildkernels
                        ;;
 
+               mkernels)
+                       configopts="-M"
+                       buildkernels
+                       ;;
+
                disk-image=*)
                        arg=${op#*=}
                        diskimage "${arg}"



Home | Main Index | Thread Index | Old Index