David> On 28 Sep 1999, Jes Sorensen wrote:
>> So we hack Config.in because menuconfig is broken, that really
>> sounds like a stupid solution to me.
>>
>> Having the following in Config.in is _not broken:
>>
>> if [ "$ARCH" = "ppc"] bool "foo" CONFIG_SOME_RANDOM_THING fi if [
>> "$ARCH" = "mips"] bool "bar" CONFIG_SOME_RANDOM_THING fi
>>
>> Is _not_ broken as long as the condition cannot invoke the question
>> twice. This is just one example of brokenness in the menu based
>> config programs.
David> As long as you add the proper ';then' to those if's, it works
David> ok with menuconfig too, if I'm not all wrong... It's just
David> xconfig that doesn't work.
Oh this was not meant to be a perfect running example, I am just
pointing out the principle. However someone changed
fs/partition/Config.in because of exactly this, recently. The result
was that things got messed up for non x86 architectures again and had
to be mended by hand.
Jes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/