[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080428.015414.193700356.davem@davemloft.net>
Date: Mon, 28 Apr 2008 01:54:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: bunk@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: Kconfig 'depend' vs. 'select'
From: Adrian Bunk <bunk@...nel.org>
Date: Mon, 28 Apr 2008 11:13:19 +0300
> The non-modular is only true for "bool selects tristate".
>
> You are talking about things like:
>
> config IWL4965_LEDS
> bool "Enable LEDS features in iwl4965 driver"
> select LEDS_CLASS
>
> The problem here is that from a kconfig perspective IWL4965_LEDS could
> as well be an own driver you want for some reason non-modular.
>
> The solution is to do the following instead:
>
> config IWL4965
> tristate "Intel Wireless WiFi 4965AGN"
> select LEDS_CLASS if IWL4965_LEDS
Ok, thanks Adrian.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists