lkml.org 
[lkml]   [2004]   [Aug]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: config language shortcomings in 2.4
FromNigel Cunningham <>
DateTue, 24 Aug 2004 15:19:02 +1000
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2008