Re: Linux 2.4.19-pre5: bad config

Alan Cox
2002-03-30T17:31:46Z

> > -dep_tristate ' SA1100 support' CONFIG_PCMCIA_SA1100 $CONFIG_ARCH_SA1100 $CONFIG_PCMCIA
> > +if [ "$CONFIG_ARCH_SA1100" = "y" ]; then
> > + dep_tristate ' SA1100 support' CONFIG_PCMCIA_SA1100 $CONFIG_PCMCIA
> > +fi
>
> It's basically to wrap it in an CONFIG_ARM and leave the SA1100 dependency.
> Why? There are other ARM PCMCIA drivers, and rather have a mass of if
> statements, I'd rather see dep_*

dep_ won't work for this case. The ARM symbols are not set on non ARM boxes