alsa-utils: use conditional for utils selection menu items
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 4 Mar 2009 13:22:54 +0000 (13:22 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 4 Mar 2009 13:22:54 +0000 (13:22 -0000)
package/multimedia/alsa-utils/Config.in

index 91c95e1d87fb736973244b8318a38c98c8126b79..7819c4dfd1ad18868febb16a5d549e8eb33a0069 100644 (file)
@@ -8,69 +8,58 @@ config BR2_PACKAGE_ALSA_UTILS
 
          http://www.alsa-project.org/
 
+if BR2_PACKAGE_ALSA_UTILS
 menu "ALSA utils selection"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_ALSACONF
        bool "alsaconf"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_ALSACTL
        bool "alsactl"
        default y
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER
        bool "alsamixer"
        default y
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_AMIDI
        bool "amidi"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_AMIXER
        bool "amixer"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_APLAY
        bool "aplay"
        depends on BR2_LARGEFILE
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 comment "aplay requires a toolchain with LARGEFILE support"
        depends on !BR2_LARGEFILE
 
 config BR2_PACKAGE_ALSA_UTILS_ARECORD
        bool "arecord"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_IECSET
        bool "iecset"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_ACONNECT
        bool "aconnect"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI
        bool "aplaymidi"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI
        bool "arecordmidi"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_ASEQDUMP
        bool "aseqdump"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_ASEQNET
        bool "aseqnet"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 config BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST
        bool "speaker-test"
-       depends on BR2_PACKAGE_ALSA_UTILS
 
 endmenu
+
+endif
+