Re: config language shortcomings in 2.4

From: Nigel Cunningham
Date: Tue Aug 24 2004 - 00:24:14 EST


Hi.

On Tue, 2004-08-24 at 15:04, Joshua Kwan wrote:
> Sorry for the belated response, but certainly it should not be necessary
> to do:
>
> if [ "$CONFIG_FW_LOADER" = "m" -o "$CONFIG_FW_LOADER" = "y" ]; then
> HAVE_SOME_FW_LOADER=y
> fi
> if [ "$CONFIG_CRC32" = "m" -o "$CONFIG_CRC32" = "m" ]; then
> HAVE_SOME_CRC32=y
> fi
>
> if [ "$HAVE_SOME_CRC32" = "y" -a "$HAVE_SOME_FW_LOADER" = "y" ]; then
> dep_tristate 'Broadcom Tigon3 support' CONFIG_TIGON3 $CONFIG_PCI
> $HAVE_SOME_FW_LOADER $HAVE_SOME_CRC32
> fi

Just in case someone goes to copy and paste the above, there's a typo:
CONFIG_CRC32 = m or = m.

> Anyway, it's all very disgusting and I'm inclined to just ignore it and
> maybe some benevolent soul will one day port Kconfig back to 2.4.

Hehe. I had to do something similar when I made suspend 2 able to be
compiled as modules. It could certainly be more elegant.

Nigel
--
Nigel Cunningham
Christian Reformed Church of Tuggeranong
PO Box 1004, Tuggeranong, ACT 2901

Many today claim to be tolerant. But true tolerance can cope with others
being intolerant.

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