mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.44 - scripts/kconfig.tk error (xconfig fails)
@ 2002-10-19  9:17 Ivan Gyurdiev
  2002-10-19  9:31 ` [patch] " Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Gyurdiev @ 2002-10-19  9:17 UTC (permalink / raw)
  To: LKML

drivers/pnp/Config.in: 7: can't handle dep_bool/dep_mbool/dep_tristate 
condition
wish -f scripts/kconfig.tk
Error in startup script: invalid command name "clear_choices"
    while executing
"clear_choices"
    (procedure "read_config" line 3)
    invoked from within
"read_config $defaults"
    invoked from within
"if { [file readable .config] == 1} then {
        if { $argc > 0 } then {
                if { [lindex $argv 0] != "-D" } then {
                        read_config .config
                }
                else
                {
                        r..."
    (file "scripts/kconfig.tk" line 646)
make: *** [xconfig] Error 1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [patch] Re: 2.5.44 - scripts/kconfig.tk error (xconfig fails)
  2002-10-19  9:17 2.5.44 - scripts/kconfig.tk error (xconfig fails) Ivan Gyurdiev
@ 2002-10-19  9:31 ` Adrian Bunk
  2002-10-19 13:22   ` Roman Zippel
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2002-10-19  9:31 UTC (permalink / raw)
  To: Ivan Gyurdiev, Adam Belay; +Cc: LKML

On Sat, 19 Oct 2002, Ivan Gyurdiev wrote:

> drivers/pnp/Config.in: 7: can't handle dep_bool/dep_mbool/dep_tristate
> condition
> wish -f scripts/kconfig.tk
> Error in startup script: invalid command name "clear_choices"
>...


A dep_bool without a dependency is wrong. The following patch fixes it:


--- linux-2.5.44-full/drivers/pnp/Config.in.old	2002-10-19 11:26:11.000000000 +0200
+++ linux-2.5.44-full/drivers/pnp/Config.in	2002-10-19 11:27:12.000000000 +0200
@@ -4,7 +4,7 @@
 mainmenu_option next_comment
 comment 'Plug and Play configuration'

-dep_bool 'Plug and Play support' CONFIG_PNP
+bool 'Plug and Play support' CONFIG_PNP

    dep_bool '  Plug and Play device name database' CONFIG_PNP_NAMES $CONFIG_PNP
    dep_bool '  PnP Debug Messages' CONFIG_PNP_DEBUG $CONFIG_PNP

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
                                Pearl S. Buck - Dragon Seed




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] Re: 2.5.44 - scripts/kconfig.tk error (xconfig fails)
  2002-10-19  9:31 ` [patch] " Adrian Bunk
@ 2002-10-19 13:22   ` Roman Zippel
  0 siblings, 0 replies; 3+ messages in thread
From: Roman Zippel @ 2002-10-19 13:22 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Ivan Gyurdiev, Adam Belay, LKML

[-- Attachment #1: Type: TEXT/PLAIN, Size: 260 bytes --]

Hi,

On Sat, 19 Oct 2002, Adrian Bunk wrote:

> A dep_bool without a dependency is wrong. The following patch fixes it:

It's not the only error. 'comment' doesn't accept dependencies (correct
fix attached).
(No, we have no new syntax yet. *sigh*)

bye, Roman

[-- Attachment #2: Type: TEXT/plain, Size: 1318 bytes --]

Index: drivers/pnp/Config.in
===================================================================
RCS file: /usr/src/cvsroot/linux-2.5/drivers/pnp/Config.in,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 Config.in
--- drivers/pnp/Config.in	19 Oct 2002 11:36:15 -0000	1.1.1.3
+++ drivers/pnp/Config.in	19 Oct 2002 13:00:10 -0000
@@ -4,15 +4,17 @@
 mainmenu_option next_comment
 comment 'Plug and Play configuration'
 
-dep_bool 'Plug and Play support' CONFIG_PNP
+bool 'Plug and Play support' CONFIG_PNP
 
-   dep_bool '  Plug and Play device name database' CONFIG_PNP_NAMES $CONFIG_PNP
-   dep_bool '  PnP Debug Messages' CONFIG_PNP_DEBUG $CONFIG_PNP
+if [ "$CONFIG_PNP" = "y" ]; then
+   bool '  Plug and Play device name database' CONFIG_PNP_NAMES
+   bool '  PnP Debug Messages' CONFIG_PNP_DEBUG
 
-comment 'Protocols' $CONFIG_PNP
+   comment 'Protocols'
 
-if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
-   dep_bool '  ISA Plug and Play support (EXPERIMENTAL)' CONFIG_ISAPNP $CONFIG_PNP
-   dep_bool '  Plug and Play BIOS support (EXPERIMENTAL)' CONFIG_PNPBIOS $CONFIG_PNP
+   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
+      bool '  ISA Plug and Play support (EXPERIMENTAL)' CONFIG_ISAPNP
+      bool '  Plug and Play BIOS support (EXPERIMENTAL)' CONFIG_PNPBIOS
+   fi
 fi
 endmenu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-19 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-19  9:17 2.5.44 - scripts/kconfig.tk error (xconfig fails) Ivan Gyurdiev
2002-10-19  9:31 ` [patch] " Adrian Bunk
2002-10-19 13:22   ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®