From: Michal Marek <mmarek@suse.cz>
To: Dan Carpenter <dan.carpenter@oracle.com>, linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] kconfig: a new command line tool to set configs
Date: Mon, 15 Jun 2015 14:55:46 +0200 [thread overview]
Message-ID: <557ECB52.2060402@suse.cz> (raw)
In-Reply-To: <20150512103128.GA25706@mwanda>
On 2015-05-12 12:31, Dan Carpenter wrote:
> This is an ugly hack job I made last night and it barely works. It
> does two things:
>
> 1) Sometimes I want to search for a config so I have to load
> menuconfig, then search for the config entry, then exit. With
> this script I simply run:
>
> ./scripts/kconfig/kconfig search COMEDI
>
> 2) I quite often try to enable something by doing:
>
> echo CONFIG_FOO=y >> .config
> make oldconfig
> grep CONFIG_FOO .config
>
> The grep is to see if the setting worked. Now I can do:
>
> ./scripts/kconfig/kconfig set CONFIG_FOO=y
The second use-case is provided by scripts/config already. It's is a lot
simpler shell script, but it's maybe good enough for such task.
Michal
next prev parent reply other threads:[~2015-06-15 12:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 10:31 [RFC] kconfig: a new command line tool to set configs Dan Carpenter
2015-06-15 12:55 ` Michal Marek [this message]
2016-01-25 8:57 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=557ECB52.2060402@suse.cz \
--to=mmarek@suse.cz \
--cc=dan.carpenter@oracle.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).