kbuild question -- make sure at least one config choice is selected?

2008-01-23 Thread Kumar Gala
Roman, I know this has come up before, but wasn't sure if any recent enhancements to Kconfig have resolved this issue. We have a set of board choices in PPC land that are 'config' options. We want to make sure the user selects at least one of them (or force at least one of them to be sel

Re: kbuild question

2007-03-15 Thread Kumar Gala
On Feb 18, 2007, at 1:25 PM, Sam Ravnborg wrote: Sure, on powerpc for some of the embedded sub-architectures you can only select a single board to build for. For a lot of people this is sufficient, however we are moving towards a world where you can easily build in support for multiple

Re: kbuild question

2007-02-18 Thread Sam Ravnborg
> > > > Sure, on powerpc for some of the embedded sub-architectures you can only > > select a single board to build for. For a lot of people this is sufficient, > > however we are moving towards a world where you can easily build in support > > for multiple boards into a single kernel. > > > > I

Re: kbuild question

2007-02-18 Thread Roman Zippel
Hi, On Fri, 16 Feb 2007, Kumar Gala wrote: > > Could you please be more specific about the problem you're trying to > > solve, instead of how you're trying to solve it? > > A real example would help a lot to understand the actual problem. > > Sure, on powerpc for some of the embedded sub-archite

Re: kbuild question

2007-02-16 Thread Kumar Gala
On Feb 16, 2007, at 4:23 AM, Roman Zippel wrote: Hi, On Thu, 15 Feb 2007, Kumar Gala wrote: I was wondering if there was some way to make a Kconfig menu either be just a menu or a choice depending on another bool being set or not. What I'm trying to accomplish is if CONFIG_ONLY_HAVE_ONE i

Re: kbuild question

2007-02-16 Thread Roman Zippel
Hi, On Thu, 15 Feb 2007, Kumar Gala wrote: > I was wondering if there was some way to make a Kconfig menu either be just a > menu or a choice depending on another bool being set or not. > > What I'm trying to accomplish is if CONFIG_ONLY_HAVE_ONE is set I want it so > you can only select on opti

Re: kbuild question

2007-02-16 Thread Sam Ravnborg
> > Now is there some way to not have to duplicate the 'config choices > between if ONLY_HAVE_ONE and if !ONLY_HAVE_ONE > > To use your example I want to do: > > config ONLY_HAVE_ONE > prompt "only have one?" > boolean > > if ONLY_HAVE_ONE > config VAL_FIRST > bool "First va

Re: kbuild question

2007-02-15 Thread Kumar Gala
On Feb 15, 2007, at 4:33 PM, Sam Ravnborg wrote: On Thu, Feb 15, 2007 at 01:18:52PM -0600, Kumar Gala wrote: I was wondering if there was some way to make a Kconfig menu either be just a menu or a choice depending on another bool being set or not. What I'm trying to accomplish is if CONFIG

Re: kbuild question

2007-02-15 Thread Sam Ravnborg
On Thu, Feb 15, 2007 at 01:18:52PM -0600, Kumar Gala wrote: > I was wondering if there was some way to make a Kconfig menu either > be just a menu or a choice depending on another bool being set or not. > > What I'm trying to accomplish is if CONFIG_ONLY_HAVE_ONE is set I > want it so you can

kbuild question

2007-02-15 Thread Kumar Gala
I was wondering if there was some way to make a Kconfig menu either be just a menu or a choice depending on another bool being set or not. What I'm trying to accomplish is if CONFIG_ONLY_HAVE_ONE is set I want it so you can only select on option, however if CONFIG_ONLY_HAVE_ONE is not set y