Re: Can ARM use drivers/Kconfig [Was: Kconfig: Source "drivers/usb/gadget/Kconfig" for ARCH=arm]
From: Sam Ravnborg
Date: Sat Jan 05 2008 - 15:54:37 EST
On Sat, Jan 05, 2008 at 08:31:24PM +0000, Russell King wrote:
> On Sat, Jan 05, 2008 at 08:20:00PM +0100, Sam Ravnborg wrote:
> > On Sat, Jan 05, 2008 at 06:42:52PM +0300, Al Boldi wrote:
> > >
> > > From: David Brownell <david-b@xxxxxxxxxxx>
> > >
> > > Source "drivers/usb/gadget/Kconfig" for ARCH=arm.
> > >
> > >
> > > Cc: David Brownell <david-b@xxxxxxxxxxx>
> > > Cc: Greg KH <greg@xxxxxxxxx>
> > > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > > Signed-off-by: Al Boldi <a1426z@xxxxxxxxx>
> > >
> > > ---
> > >
> > > --- 23.a/arch/arm/Kconfig
> > > +++ 23.b/arch/arm/Kconfig
> > > @@ -1049,6 +1049,8 @@ source "drivers/hid/Kconfig"
> > >
> > > source "drivers/usb/Kconfig"
> > >
> > > +source "drivers/usb/gadget/Kconfig"
> > > +
> > > source "drivers/mmc/Kconfig"
> > >
> > > source "drivers/rtc/Kconfig"
> >
> > What is preventing ARM from using drivers/Kconfig?
> > That a better fix IMO.
>
> Not everything in drivers/ is suitable for every ARM configuration. It
> was felt at the time better for ARM to remain separate because people
> didn't want to pollute drivers/Kconfig with the ARM specific conditionals.
>
Today we would have used HAVE_ for the problematic parts and thus
it would have been easy to not select what ARM does not support.
But unfortunately thats not how it got designed.
It would be nice to revist one day to see how much is actually needed
to cleanly supprt ARM in drivers/Kconfig.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/