alsa-utils: fix dependencies

Most alsa utilites depend on specific alsa-lib options, so ensure those
are selected. Arecord is furthermore just a symlink to aplay these days,
so get rid of the option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2011-03-14 23:59:10 +01:00
parent b05c54daf0
commit 6eaedac150
2 changed files with 13 additions and 6 deletions

View File

@ -27,6 +27,7 @@ config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER
select BR2_PACKAGE_NCURSES_TARGET_PANEL
select BR2_PACKAGE_NCURSES_TARGET_FORM
select BR2_PACKAGE_NCURSES_TARGET_MENU
select BR2_PACKAGE_ALSA_LIB_MIXER
depends on BR2_USE_WCHAR
default y
@ -34,36 +35,43 @@ comment "alsamixer requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR
config BR2_PACKAGE_ALSA_UTILS_AMIDI
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
bool "amidi"
config BR2_PACKAGE_ALSA_UTILS_AMIXER
select BR2_PACKAGE_ALSA_LIB_MIXER
bool "amixer"
config BR2_PACKAGE_ALSA_UTILS_APLAY
bool "aplay"
config BR2_PACKAGE_ALSA_UTILS_ARECORD
bool "arecord"
select BR2_PACKAGE_ALSA_LIB_PCM
bool "aplay/arecord"
config BR2_PACKAGE_ALSA_UTILS_IECSET
select BR2_PACKAGE_ALSA_LIB_PCM
bool "iecset"
config BR2_PACKAGE_ALSA_UTILS_ACONNECT
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "aconnect"
config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "aplaymidi"
config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "arecordmidi"
config BR2_PACKAGE_ALSA_UTILS_ASEQDUMP
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "aseqdump"
config BR2_PACKAGE_ALSA_UTILS_ASEQNET
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "aseqnet"
config BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST
select BR2_PACKAGE_ALSA_LIB_PCM
bool "speaker-test"
endmenu

View File

@ -26,8 +26,7 @@ ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSACTL) += usr/sbin/alsactl
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSAMIXER) += usr/bin/alsamixer
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIDI) += usr/bin/amidi
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIXER) += usr/bin/amixer
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAY) += usr/bin/aplay
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ARECORD) += usr/bin/arecord
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAY) += usr/bin/aplay usr/bin/arecord
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_IECSET) += usr/bin/iecset
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ACONNECT) += usr/bin/aconnect
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAYMIDI) += usr/bin/aplaymidi