Re: [kbuild-devel] [RFC] Extending kbuild syntax

2007-09-30 Thread Sam Ravnborg
On Sun, Sep 30, 2007 at 05:02:58AM +0200, Adrian Bunk wrote: > On Sat, Sep 29, 2007 at 10:11:45PM +0200, Sam Ravnborg wrote: > >... > > The second is the more controversial suggestion. > > In several Makefile we have simple if expression of the variants: > > if ($(CONFIG_FOO),y) > > obj-$(CONFIG_

Re: [kbuild-devel] [RFC] Extending kbuild syntax

2007-09-29 Thread Adrian Bunk
On Sat, Sep 29, 2007 at 10:11:45PM +0200, Sam Ravnborg wrote: >... > The second is the more controversial suggestion. > In several Makefile we have simple if expression of the variants: > if ($(CONFIG_FOO),y) > obj-$(CONFIG_BAR) += fubar.o > endif > > The pattern varies over this theme. > The su