Re: Kconfig with multiple sources of integer value

From: Michal Marek
Date: Mon Jan 18 2010 - 07:57:50 EST


On 11.1.2010 09:30, Ben Dooks wrote:
> It would be nice if I could say
>
> config S3C24XX_GPIO_EXTRA
>
> and then
>
> config MACH_OSIRIS
> ...
> set_min S3C24XX_GPIO_EXTRA 128
>
> or something similar.

Or maybe extend 'select' to accept
select FOO=<value>
and allow select for integer options too (in which case, the =<value>
would be mandatory). Then it would look like

config MACH_OSIRIS
...
select S3C24XX_GPIO_EXTRA=128

What do you think?

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/