lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Kconfig 'depend' vs. 'select'
From
From: Adrian Bunk <bunk@kernel.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.


\
 
 \ /
  Last update: 2008-04-28 10:57    [W:1.331 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site