]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
V4L/DVB (10837): Kconfig: only open the customise menu if selected
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Mar 2009 11:31:39 +0000 (08:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:08 +0000 (12:43 -0300)
Instead of asking a lot of questions for the poor users, let's just hide
the frontend customise menu, if the user doesn't want to customise.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/Kconfig

index 4059d22a1e550088d5899ef5d1709638b50eff50..f9a9273028a9f2b092522bddf39ae204ebf3791d 100644 (file)
@@ -1,17 +1,21 @@
-menu "Customise DVB Frontends"
-       depends on DVB_CORE
-
 config DVB_FE_CUSTOMISE
        bool "Customise the frontend modules to build"
+       depends on DVB_CORE
        default N
        help
-         This allows the user to deselect frontend drivers unnecessary
-         for their hardware from the build. Use this option with care
-         as deselecting frontends which are in fact necessary will result
-         in DVB devices which cannot be tuned due to lack of driver support.
+         This allows the user to select/deselect frontend drivers for their
+         hardware from the build.
+
+         Use this option with care as deselecting frontends which are in fact
+         necessary will result in DVB devices which cannot be tuned due to lack
+         of driver support.
 
          If unsure say N.
 
+if DVB_FE_CUSTOMISE
+
+menu "Customise DVB Frontends"
+
 comment "Multistandard (satellite) frontends"
        depends on DVB_CORE
 
@@ -507,3 +511,5 @@ config DVB_AF9013
        help
          Say Y when you want to support this frontend.
 endmenu
+
+endif