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/ http://www.alsa-project.org/
if BR2_PACKAGE_ALSA_UTILS
menu "ALSA utils selection" menu "ALSA utils selection"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_ALSACONF config BR2_PACKAGE_ALSA_UTILS_ALSACONF
bool "alsaconf" bool "alsaconf"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_ALSACTL config BR2_PACKAGE_ALSA_UTILS_ALSACTL
bool "alsactl" bool "alsactl"
default y default y
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER
bool "alsamixer" bool "alsamixer"
default y default y
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_AMIDI config BR2_PACKAGE_ALSA_UTILS_AMIDI
bool "amidi" bool "amidi"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_AMIXER config BR2_PACKAGE_ALSA_UTILS_AMIXER
bool "amixer" bool "amixer"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_APLAY config BR2_PACKAGE_ALSA_UTILS_APLAY
bool "aplay" bool "aplay"
depends on BR2_LARGEFILE depends on BR2_LARGEFILE
depends on BR2_PACKAGE_ALSA_UTILS
comment "aplay requires a toolchain with LARGEFILE support" comment "aplay requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE depends on !BR2_LARGEFILE
config BR2_PACKAGE_ALSA_UTILS_ARECORD config BR2_PACKAGE_ALSA_UTILS_ARECORD
bool "arecord" bool "arecord"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_IECSET config BR2_PACKAGE_ALSA_UTILS_IECSET
bool "iecset" bool "iecset"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_ACONNECT config BR2_PACKAGE_ALSA_UTILS_ACONNECT
bool "aconnect" bool "aconnect"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI
bool "aplaymidi" bool "aplaymidi"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI
bool "arecordmidi" bool "arecordmidi"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_ASEQDUMP config BR2_PACKAGE_ALSA_UTILS_ASEQDUMP
bool "aseqdump" bool "aseqdump"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_ASEQNET config BR2_PACKAGE_ALSA_UTILS_ASEQNET
bool "aseqnet" bool "aseqnet"
depends on BR2_PACKAGE_ALSA_UTILS
config BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST config BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST
bool "speaker-test" bool "speaker-test"
depends on BR2_PACKAGE_ALSA_UTILS
endmenu endmenu
endif