From: Pavel Machek <pavel@ucw.cz>
To: Drew DeVault <sir@cmpwn.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Programatically modifying .config
Date: Tue, 16 May 2017 12:57:08 +0200 [thread overview]
Message-ID: <20170516105708.GA6314@amd> (raw)
In-Reply-To: <20170312203802.GB809@homura>
[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]
On Sun 2017-03-12 16:38:02, Drew DeVault wrote:
> I'm in the research stage of making it so something to the effect of
> `make setconfig OPTION="CONFIG_E100E=y"` will work, bringing it up here
> for some discussion first.
>
> Digging into the kconfig code, this seems feasible, but complicated. A
> simple solver of some sort will be necessary to make the Depends expr
> true, and this tool would also have to hit up the Selects and Implies
> lines.
>
> I expect there will be edge cases that this tool can't cope with, and
> I'm okay with just letting that be the case.
>
> Any thoughts?
You can prepend (or append?) desired config option to .config, then
run make oldconfig. And yes, script for automatically modifying
.config would be nice... as would be script to automatically do
"configuration bisect" (because some bugs are config dependend and
nasty).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2017-05-16 10:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-12 20:38 Programatically modifying .config Drew DeVault
2017-05-16 10:57 ` Pavel Machek [this message]
2017-05-17 0:31 ` Randy Dunlap
2017-05-17 2:42 ` Steven Rostedt
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=20170516105708.GA6314@amd \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=sir@cmpwn.com \
/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