From 445d0e91db2c996ae6830c1075fb62a98ee0ff72 Mon Sep 17 00:00:00 2001 From: uebayasi Date: Sun, 16 Nov 2014 05:38:10 +0000 Subject: [PATCH] build.sh mkernel=*: New command to build kernel in modular --- build.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 33822d7e2d7f..66e20335344b 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.301 2014/11/10 09:59:33 apb Exp $ +# $NetBSD: build.sh,v 1.302 2014/11/16 05:38:10 uebayasi Exp $ # # Copyright (c) 2001-2011 The NetBSD Foundation, Inc. # All rights reserved. @@ -1029,6 +1029,7 @@ Usage: ${progname} [-EhnorUuxy] [-a arch] [-B buildid] [-C cdextras] file \`conf' releasekernel=conf Install kernel built by kernel=conf to RELEASEDIR. kernels Build all kernels + mkernel=conf Build kernel with config file \`conf' in modular build installmodules=idir Run "make installmodules" to \`idir' to install all kernel modules. modules Build kernel modules. @@ -1319,7 +1320,7 @@ parseoptions() exit $? ;; - kernel=*|releasekernel=*|kernel.gdb=*) + kernel=*|releasekernel=*|kernel.gdb=*|mkernel=*) arg=${op#*=} op=${op%%=*} [ -n "${arg}" ] || @@ -1869,7 +1870,7 @@ createmakewrapper() eval cat <