Re: RFC: kconfig select warnings bogus?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Trent Piepho
Date: Sunday, May 20, 2007 - 1:41 pm

On Sun, 20 May 2007, Stefan Richter wrote:

This came up when I was working on the v4l-dvb tree's out of kernel build
system.  It uses the same Kconfig files, but I've created a config system in
perl to parse and evaluate them.  It will disable options that the kernel
config programs allow, and it is because I'm treating this situation
differently:  Since "B" is disabled because "A" is off, "C" must also be
disabled.

Another way of dealing with this would be to have 'select' follow the
dependency chain back up.  Turning on C selects B, B depends on A, so A is
also selected.

One problem with this is that "depends on" can take complex expressions.
Finding the solution is NP complete, which likely isn't a problem for the
sizes of realistic Kconfig files.  But there could easily be multiple
solutions, so which one is the right one?
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RFC: kconfig select warnings bogus?, Sam Ravnborg, (Sat May 19, 8:15 am)
Re: RFC: kconfig select warnings bogus?, Andrew Morton, (Sat May 19, 11:09 am)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 3:17 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 3:49 pm)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sat May 19, 4:05 pm)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sat May 19, 4:09 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 4:17 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 4:17 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 4:21 pm)
Re: RFC: kconfig select warnings bogus?, Andrew Morton, (Sat May 19, 4:22 pm)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sat May 19, 4:23 pm)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sat May 19, 4:25 pm)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sat May 19, 4:29 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 4:32 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 4:36 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 4:41 pm)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sat May 19, 4:48 pm)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sat May 19, 4:51 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 4:55 pm)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sat May 19, 5:02 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 5:02 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 5:11 pm)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sat May 19, 5:13 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 5:19 pm)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Sat May 19, 5:46 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 5:53 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sat May 19, 6:04 pm)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Sun May 20, 1:31 am)
Re: RFC: kconfig select warnings bogus?, Russell King, (Sun May 20, 2:40 am)
Re: RFC: kconfig select warnings bogus?, Russell King, (Sun May 20, 2:43 am)
Re: RFC: kconfig select warnings bogus?, Trent Piepho, (Sun May 20, 2:52 am)
Re: RFC: kconfig select warnings bogus?, Sam Ravnborg, (Sun May 20, 3:17 am)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Sun May 20, 3:58 am)
Re: RFC: kconfig select warnings bogus?, Geert Uytterhoeven, (Sun May 20, 4:07 am)
Re: RFC: kconfig select warnings bogus?, Trent Piepho, (Sun May 20, 4:23 am)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sun May 20, 4:38 am)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Sun May 20, 4:44 am)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Sun May 20, 4:47 am)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sun May 20, 4:57 am)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Sun May 20, 6:09 am)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Sun May 20, 6:50 am)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Sun May 20, 7:39 am)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sun May 20, 11:23 am)
Re: RFC: kconfig select warnings bogus?, Adrian Bunk, (Sun May 20, 11:30 am)
Re: RFC: kconfig select warnings bogus?, Trent Piepho, (Sun May 20, 12:57 pm)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Sun May 20, 1:12 pm)
Re: RFC: kconfig select warnings bogus?, Trent Piepho, (Sun May 20, 1:41 pm)
Re: RFC: kconfig select warnings bogus?, Roman Zippel, (Sun May 20, 5:25 pm)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Tue May 22, 7:53 am)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Tue May 22, 8:13 am)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Tue May 22, 10:03 am)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Tue May 22, 10:13 am)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Tue May 22, 10:38 am)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Tue May 22, 10:46 am)
Re: RFC: kconfig select warnings bogus?, Stefan Richter, (Tue May 22, 10:54 am)
Re: RFC: kconfig select warnings bogus?, Satyam Sharma, (Tue May 22, 10:59 am)