alsa-utils: use conditional for utils selection menu items

This commit is contained in:
Peter Korsgaard 2009-03-04 13:22:54 +00:00
parent 32675db0ee
commit 9cef073cb2

View 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