Re: CML2 design philosophy heads-up

Jamie Lokier
2001-05-08T07:00:23Z

Eric S. Raymond wrote:
> Tom Rini <trini@kernel.crashing.org>:
> > Only sort-of. There are some cases where you can get away with that.
> > Probably. eg If you ask for PARPORT, on x86 that means yes to PARPORT_PC,
> > always (right?)
>
> Yes. So the right answer there isn't to use a derivation but to say:
>
> require X86 and PARPORT implies PARPORT_PC
> unless X86==n suppress PARPORT_PC
>
> which forces PARPORT_PC==y and makes the question invisible on X86 machines,
> but leaves the question visible on all others.

Which is unfortunately wrong if you want the parport subsystem on x86
but won't be using the parport_pc driver with it. I.e. you'll be using
some other driver which isn't part of the kernel tree. Perhaps a
modified version of parport_pc, perhaps something else.

The default should be PARPORT_PC==y, but it's actually valid for some
applications to _require_ PARPORT_PC==n or PARPORT_PC==m.

-- Jamie