Skip to contentSkip to conversation

paride/Config.in and bool vs. mconfig 0.20

DISCUSSION Matthias Andree 2 participants 2 messages Dec 2, 2001 – Dec 4, 2001 Block layer

lore
Share & tools
lore
#0 lore raw

I tried to configure 2.4.17pre2 with mconfig 0.20, it said:

| drivers/block/paride/Config.in: 32: warning: bool command has extra | arguments

And rightly so, bool wants the configuration question and the parameter, nothing else.

Either that needs some dep_ stuff or it has indeed an extra argument, I cannot decide which one is correct, so I'm not providing a patch now.

Would it be possible to fix this before 2.4.17 or 2.5.1 respectively?

Signature · 4 lines
Matthias Andree

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."         Benjamin Franklin
#1 lore raw
Quoted 10 lines · Matthias Andree

I tried to configure 2.4.17pre2 with mconfig 0.20, it said:

| drivers/block/paride/Config.in: 32: warning: bool command has extra | arguments

And rightly so, bool wants the configuration question and the parameter, nothing else.

Either that needs some dep_ stuff or it has indeed an extra argument, I cannot decide which one is correct, so I'm not providing a patch now.

That option really is just a bool. Here is the fix.

Tim.
*/

drivers/block/paride/Config.in renamed from drivers/block/paride/Config.in.bool +1 -1
@@ -29,7 +29,7 @@
 dep_tristate '    Shuttle EPAT/EPEZ protocol' CONFIG_PARIDE_EPAT $CONFIG_PARIDE
 if [ "$CONFIG_PARIDE_EPAT" != "n" ]; then
   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
-    bool '     Support c7/c8 chips (EXPERIMENTAL)' CONFIG_PARIDE_EPATC8 $CONFIG_PARIDE
+    bool '     Support c7/c8 chips (EXPERIMENTAL)' CONFIG_PARIDE_EPATC8
   fi
 fi