Re: radio-miropcm20.c compile barf [2.2.18pre15 / CONFIG_RADIO_MIROPCM20]

From: Arjan van de Ven (arjan@fenrus.demon.nl)
Date: Sun Oct 15 2000 - 00:49:06 EST


In article <20001014215943.A28367@sovereign.org> you wrote:

Hi,

> --- linux/drivers/char/Config.in 2000/10/15 02:34:00 1.1
> +++ linux/drivers/char/Config.in 2000/10/15 02:53:00
> @@ -139,7 +139,7 @@
> hex ' Aztech/Packard Bell I/O port (0x350 or 0x358)' CONFIG_RADIO_AZTECH_PORT 350
> fi
> dep_tristate 'ADS Cadet AM/FM Tuner' CONFIG_RADIO_CADET $CONFIG_VIDEO_DEV
> - dep_tristate 'Miro PCM20 Radio' CONFIG_RADIO_MIROPCM20 $CONFIG_VIDEO_DEV
> + dep_tristate 'Miro PCM20 Radio' CONFIG_RADIO_MIROPCM20 $CONFIG_VIDEO_DEV $CONFIG_ACI_MIXER
> dep_tristate 'GemTek Radio Card support' CONFIG_RADIO_GEMTEK $CONFIG_VIDEO_DEV
> if [ "$CONFIG_RADIO_GEMTEK" = "y" ]; then
> hex ' GemTek i/o port (0x20c, 0x24c, 0x248, 0x30c, or 0x34c)' CONFIG_RADIO_GEMTEK_PORT 34c

Unfortionatly, this will not work. The reason for this is that the question
about the ACI mixer is asked in the sound section, which is asked _after_
the Miro question is asked. The result is that the dep_tristate for the Miro
will use the CONFIG_ACI_MIXER value of the _previous_ .config.

Yes, this is a pain, but there is no good way to fix this with the current
Config.in system.

Greetings,
   Arjan van de Ven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:28 EST