diff --git a/build.sh b/build.sh index b565a36585bb..8f4c644969a7 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.304 2014/11/16 06:08:13 uebayasi Exp $ +# $NetBSD: build.sh,v 1.305 2014/11/30 15:53:29 uebayasi Exp $ # # Copyright (c) 2001-2011 The NetBSD Foundation, Inc. # All rights reserved. @@ -1029,8 +1029,6 @@ 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 - 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. modules Build kernel modules. @@ -1321,7 +1319,7 @@ parseoptions() exit $? ;; - kernel=*|releasekernel=*|kernel.gdb=*|mkernel=*) + kernel=*|releasekernel=*|kernel.gdb=*) arg=${op#*=} op=${op%%=*} [ -n "${arg}" ] || @@ -1350,7 +1348,6 @@ parseoptions() iso-image-source|\ iso-image|\ kernels|\ - mkernels|\ live-image|\ makewrapper|\ modules|\ @@ -1872,7 +1869,7 @@ createmakewrapper() eval cat < Additional flags to the compiler when creating the diff --git a/share/mk/bsd.ioconf.mk b/share/mk/bsd.ioconf.mk index 93d4144315d6..c1acac5bb75b 100644 --- a/share/mk/bsd.ioconf.mk +++ b/share/mk/bsd.ioconf.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.ioconf.mk,v 1.4 2013/09/20 16:39:14 pooka Exp $ +# $NetBSD: bsd.ioconf.mk,v 1.5 2014/11/30 15:53:29 uebayasi Exp $ # .include @@ -18,7 +18,8 @@ CONFIGDEP=${TOOL_CONFIG} .endif ioconf.c: ${IOCONF} ${CONFIGDEP} - ${TOOL_CONFIG} -b ${.OBJDIR} -s ${S} ${IOCONFDIR:U${.CURDIR}}/${IOCONF} + ${TOOL_CONFIG} ${CONFIGOPTS} -b ${.OBJDIR} -s ${S} \ + ${IOCONFDIR:U${.CURDIR}}/${IOCONF} # config doesn't change the files if they're unchanged. however, # here we want to satisfy our make dependency, so force a # timestamp update