Re: [RFC][PATCH] kconfig: implement select with values

2010-07-26 Thread Sam Ravnborg
> > Cute. I didn't know this was possible. I'll give it a try and see > how it works for me. Do override config options also pickup > select/depends constraints applied by later definitions? I think that > would be necessary to kick out warnings when a defconfig selection > isn't actually achi

Re: [RFC][PATCH] kconfig: implement select with values

2010-07-26 Thread Grant Likely
Hi Sam, On Mon, Jul 26, 2010 at 4:17 PM, Sam Ravnborg wrote: > On Tue, Jul 20, 2010 at 04:37:06AM +1000, Stephen Rothwell wrote: >> This is a fairly brute force approach to allowing a Kconfig "select" >> to specify an excplicit value for the selected config sybmol. >> >> The syntax of select is c

Re: [RFC][PATCH] kconfig: implement select with values

2010-07-26 Thread Sam Ravnborg
On Tue, Jul 20, 2010 at 04:37:06AM +1000, Stephen Rothwell wrote: > This is a fairly brute force approach to allowing a Kconfig "select" > to specify an excplicit value for the selected config sybmol. > > The syntax of select is changed to: > > "select" [] ["if" expr] > > The approach tak

[RFC][PATCH] kconfig: implement select with values

2010-07-19 Thread Stephen Rothwell
This is a fairly brute force approach to allowing a Kconfig "select" to specify an excplicit value for the selected config sybmol. The syntax of select is changed to: "select" [] ["if" expr] The approach taken is to add a list of pairs to the symbol and check them whenever the reverse