[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200901031154.44868.arnd@arndb.de>
Date: Sat, 3 Jan 2009 11:54:44 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-kbuild@...r.kernel.org, sam@...nborg.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [1/3] KBUILD: Add script to manipulate .config files on the command line
On Saturday 03 January 2009, Andi Kleen wrote:
>
> I often change single options in .config files. Instead of using
> an editor or one of the frontends it's convenient to do this from
> the command line. It's also useful to do from automated build scripts
> when building different variants from a base config file.
>
> I extracted most of the CONFIG manipulation code from one of my
> build scripts into a new shell script scripts/config
This looks very useful, thanks for sharing.
> The script is not integrated with the normal Kconfig machinery
> and doesn't do any checking against Kconfig files, but just manipulates
> that text format. This is always done at make time anyways.
Why? I would imagine it to be useful to get immediate feedback
whether changing the option was successful. It should be easy to
run scripts/kconfig/conf -o on the config file afterwards.
My normal workflow when changing single options is to remove the
line from .config and call make oldconfig again. What I would
like to see most here is something like
./scripts/config --reconfigure smp
Remove SMP from .config, and do oldconfig to ask again.
Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists