[patch] Re: 2.5.44 - scripts/kconfig.tk error (xconfig fails)

From: Adrian Bunk (bunk@fs.tum.de)
Date: Sat Oct 19 2002 - 04:31:00 EST

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



"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

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

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:46 EST