Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1642405

Re: Programatically modifying .config

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: Programatically modifying .config
Date 2017-05-16 13:00 +0200
Message-ID <tHImS-4uw-9@gated-at.bofh.it> (permalink)
References <tkiBb-6FF-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Programatically modifying .config Pavel Machek <pavel@ucw.cz> - 2017-05-16 13:00 +0200
  Re: Programatically modifying .config Randy Dunlap <rdunlap@infradead.org> - 2017-05-17 02:40 +0200
    Re: Programatically modifying .config Steven Rostedt <rostedt@goodmis.org> - 2017-05-17 04:50 +0200

csiph-web