All of lore.kernel.org
 help / color / mirror / Atom feed
From: Drew DeVault <sir@cmpwn.com>
To: linux-kernel@vger.kernel.org
Subject: Programatically modifying .config
Date: Sun, 12 Mar 2017 16:38:02 -0400	[thread overview]
Message-ID: <20170312203802.GB809@homura> (raw)

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?

--
 Drew DeVault

             reply	other threads:[~2017-03-12 20:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-12 20:38 Drew DeVault [this message]
2017-05-16 10:57 ` Programatically modifying .config Pavel Machek
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=20170312203802.GB809@homura \
    --to=sir@cmpwn.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.