From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.queued.net ([207.210.101.209]:1600 "EHLO mail.queued.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761244AbYEUUmK (ORCPT ); Wed, 21 May 2008 16:42:10 -0400 Date: Wed, 21 May 2008 16:47:03 -0400 From: Andres Salomon Subject: Re: Additional kconfig targets (cloneconfig, nonint_oldconfig etc) Message-ID: <20080521164703.61c7d715@ephemeral> In-Reply-To: <20080502190949.GA30270@uranus.ravnborg.org> References: <20080429183531.GB19652@uranus.ravnborg.org> <20080502190949.GA30270@uranus.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Sam Ravnborg Cc: linux-kbuild , LKML , Dave Jones , Roland McGrath , Roman Zippel On Fri, 2 May 2008 21:09:49 +0200 Sam Ravnborg wrote: > With the attached patch you can do: > > make K=my_favourite_config defconfig > > kconfig will read all config values form 'my_favourite_config' > and set all other symbols to their default value. > The output is now dense like this: > # configuration is based on 'my_favourite_config' > # > # configuration written to .config > # > Is this slated for 2.6.27? > > The K= notations works for the usual suspects: > allnoconfig, allyesconfig, allmodconfig, randconfig and defconfig Since this is aconf (automated), if we run 'make K=foo defconfig' and 'foo' doesn't contain one of the necessary values.. the build will fail, right? [...] > > What is missing: > 1) No support for .gz input file > But aconf.sh should be easy to adjust to this > > 2) We hardcode that files name *_defconfig are found > in arch/$ARCH/configs/* > > 3) Implement newsymbolsconfig (any better name?) > Shall list all new symbols and shall not write > any config > I'm not sure I see the point of #3.