Skip to contentSkip to conversation

linux-2.4.6-pre6: numerous dep_{bool,tristate} $CONFIG_ARCH_xxx bugs

DISCUSSION Adam J. Richter 1 participant 1 message Jun 30, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines

From: Russell King <[email protected]>

Quoted 4 lines · Alan Cox

#2
dep_tristate $FOO $BAR

to say 'FOO requires BAR and must be a similar setting _IF_CONFIGURED_'

Err, how can $BAR be undefined? Configure sets all config variables which are answered with 'n' to 'n'.

One example would be processing of the following line on a non-sparc computer (from linux-2.4.6-pre6/drivers/sbus/audio/Config.in):

dep_tristate ' Sun Microsystems userflash support' CONFIG_MTD_SUN_UFLASH $CONFIG_SPARC64

I think this could also come up for drivers that depend on $CONFIG_ISA when configured for non-PC platforms that do not ask about ISA support.

Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
[email protected]     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America

fax +1 408 261-6631 "Free Software For The Rest Of Us."