2002-02-14 08:31:30

by Peter Samuelson

[permalink] [raw]
Subject: [upatch] Re: linux-2.5.5-pre1

[Alessandro Suardi]
> More issues:
>
> - xconfig broken

Untested but obvious..

--- 2.5.5pre1/sound/Config.in~ Wed Feb 13 20:57:11 2002
+++ 2.5.5pre1/sound/Config.in Thu Feb 14 02:26:21 2002
@@ -19,13 +19,13 @@
source sound/core/Config.in
source sound/drivers/Config.in
fi
-if [ "$CONFIG_SND" != "n" -a "$CONFIG_ISA" == "y" ]; then
+if [ "$CONFIG_SND" != "n" -a "$CONFIG_ISA" = "y" ]; then
source sound/isa/Config.in
fi
-if [ "$CONFIG_SND" != "n" -a "$CONFIG_PCI" == "y" ]; then
+if [ "$CONFIG_SND" != "n" -a "$CONFIG_PCI" = "y" ]; then
source sound/pci/Config.in
fi
-if [ "$CONFIG_SND" != "n" -a "$CONFIG_PPC" == "y" ]; then
+if [ "$CONFIG_SND" != "n" -a "$CONFIG_PPC" = "y" ]; then
source sound/ppc/Config.in
fi


2002-02-15 00:16:22

by Alessandro Suardi

[permalink] [raw]
Subject: Re: [upatch] Re: linux-2.5.5-pre1

Peter Samuelson wrote:
> [Alessandro Suardi]
>
>> More issues:
>>
>> - xconfig broken
>>
>
> Untested but obvious..
>
> --- 2.5.5pre1/sound/Config.in~ Wed Feb 13 20:57:11 2002
> +++ 2.5.5pre1/sound/Config.in Thu Feb 14 02:26:21 2002
> @@ -19,13 +19,13 @@
> source sound/core/Config.in
> source sound/drivers/Config.in
> fi
> -if [ "$CONFIG_SND" != "n" -a "$CONFIG_ISA" == "y" ]; then
> +if [ "$CONFIG_SND" != "n" -a "$CONFIG_ISA" = "y" ]; then
> source sound/isa/Config.in
> fi
> -if [ "$CONFIG_SND" != "n" -a "$CONFIG_PCI" == "y" ]; then
> +if [ "$CONFIG_SND" != "n" -a "$CONFIG_PCI" = "y" ]; then
> source sound/pci/Config.in
> fi
> -if [ "$CONFIG_SND" != "n" -a "$CONFIG_PPC" == "y" ]; then
> +if [ "$CONFIG_SND" != "n" -a "$CONFIG_PPC" = "y" ]; then
> source sound/ppc/Config.in
> fi

Good - but not enough :)

[asuardi@dolphin linux]$ make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
/usr/src/linux/include
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.5.5-pre1/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
sound/isa/Config.in: 23: can't handle dep_bool/dep_mbool/dep_tristate condition
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.5-pre1/scripts'
make: *** [xconfig] Error 2

It looks like adding $CONFIG_SND on line 23 in sound/isa/Config.in
makes xconfig start up...


Thanks,
--alessandro

"If your heart is a flame burning brightly
you'll have light and you'll never be cold
And soon you will know that you just grow / You're not growing old"
(Husker Du, "Flexible Flyer")