[PATCH 2.4.23-pre4] Fixup 'make xconfig' (was Re: Linux 2.4.23-pre3)

From: Marc-Christian Petersen
Date: Thu Sep 04 2003 - 01:57:44 EST


On Thursday 04 September 2003 05:18, Supphachoke Suntiwichaya wrote:

Hi Mrchoke,

> I can't make xconfig ::
> [root@potter linux-2.4.23-pre3]# make xconfig
> rm -f include/asm
> ( cd include ; ln -sf asm-i386 asm)
> make -C scripts kconfig.tk
> make[1]: Entering directory `/usr/src/linux-2.4.23-pre3/scripts'
> cat header.tk >> ./kconfig.tk
> ./tkparse < ../arch/i386/config.in >> kconfig.tk
> drivers/char/Config.in: 270: bad if condition
> make[1]: *** [kconfig.tk] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.23-pre3/scripts'
> make: *** [xconfig] Error 2

I can ... with the attached fix :p

Marcelo, please apply this too. Thank you.

ciao, Marc
--- a/drivers/char/Config.in 2003-09-04 08:38:07.000000000 +0200
+++ b/drivres/char/Config.in 2003-09-04 08:49:43.000000000 +0200
@@ -267,7 +267,7 @@ if [ "$CONFIG_ARCH_NETWINDER" = "y" ]; t
fi
dep_tristate 'NatSemi SCx200 GPIO Support' CONFIG_SCx200_GPIO $CONFIG_SCx200

-if [ "$CONFIG_IA64_GENERIC" = "y" -o "$CONFIG_IA64_SGI_SN2" = 'y' ] ; then
+if [ "$CONFIG_IA64_GENERIC" = "y" -o "$CONFIG_IA64_SGI_SN2" = "y" ] ; then
bool 'SGI SN2 fetchop support' CONFIG_FETCHOP
fi