Re: S390 block devs on !s390.

From: Dave Jones
Date: Fri Feb 27 2004 - 12:01:23 EST


On Fri, Feb 27, 2004 at 09:45:37AM -0700, Kevin P. Fleming wrote:
> Dave Jones wrote:
>
> >This is probably useless on x86 for eg..
> >(Everything else in this file is dependant on some other s390 feature,
> > so only this one shows up). Too bad the drivers/s390/block stuff gets
> >source'd at all on !s390.
>
> Doesn't the config language support wrapping the entire KConfig file (or
> even a higher level one) with "if ARCH_S390"? All that does is add a
> "depends ARCH_S390" to everything in the file, but it would sure be a
> lot easier to maintain.

Sure, you force a bool to y if ARCH=S390 at the top.
That would work. Probably.

Dave

-
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/