Keith Owens <[EMAIL PROTECTED]>:
> On Mon, 12 Nov 2001 12:53:49 -0500,
> "Eric S. Raymond" <[EMAIL PROTECTED]> wrote:
> >I understand what you're trying to do, but not why CML2 has to be involved.
> >What tests or operations do you need CML2 to be able to spport on lists,
> >and what action do you want to trigger?
>
> I need a variable out of both CML1 and CML2 that contains a list. That
> list will vary from one architecture to another and possibly from one
> kernel to another (old HIGHMEM would have been in the list, new HIGHMEM
> is not). The simplest way of defining a list is a string variable
> containing white space separated names. I just want CML2 to let me
> derive a variable from a string expression.
OK. I can do that. How are you going to condition the value on an
architecture, though? Is your derivation going to look something like this?
derive MYVAR from (X86 ? "a" : (PPC ? "b" : (ARM ? "c" : "x")))
That would be workable but ugly, and increasingly fragile as the number
of architectures goes up. Can you imagine a better solution?
--
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
No one is bound to obey an unconstitutional law and no courts are bound
to enforce it.
-- 16 Am. Jur. Sec. 177 late 2d, Sec 256
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel