![Thomas Petazzoni](/assets/img/avatar_default.png)
In commit 4707383c5d
("alsa-utils: needs
dynamic library support"), we added a !BR2_STATIC_LIBS dependency
because topology/topology.c was including <dlfcn.h>.
However, it turns out that this include is not needed/used at all, so
we can instead drop it, and re-enable the package in BR2_STATIC_LIBS
configuration.
This was discovered when analyzing why we have
package/alsa-lib/0003-alsa-lib-conditionally-enable-libdl-in-AM_PATH_ALSA-.patch. This
patch fixes the AM_PATH_ALSA autoconf macro, used by alsa-utils, so
that ALSA_LIBS doesn't carry the -ldl option, fixing static-linking
scenarios. This patch had become useless since alsa-utils was no
longer available in BR2_STATIC_LIBS configuration.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
95 lines
2.1 KiB
Plaintext
95 lines
2.1 KiB
Plaintext
comment "alsa-utils needs a toolchain w/ threads"
|
|
depends on BR2_USE_MMU # fork
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
menuconfig BR2_PACKAGE_ALSA_UTILS
|
|
bool "alsa-utils"
|
|
depends on BR2_USE_MMU # fork
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
|
|
select BR2_PACKAGE_ALSA_LIB
|
|
help
|
|
This package contains the command line utilities for the ALSA
|
|
project.
|
|
|
|
http://www.alsa-project.org/
|
|
|
|
if BR2_PACKAGE_ALSA_UTILS
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ALSACONF
|
|
bool "alsaconf"
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ACONNECT
|
|
bool "aconnect"
|
|
select BR2_PACKAGE_ALSA_LIB_SEQ
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ALSACTL
|
|
bool "alsactl"
|
|
default y
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ALSALOOP
|
|
bool "alsaloop"
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER
|
|
bool "alsamixer"
|
|
default y
|
|
depends on BR2_USE_WCHAR
|
|
select BR2_PACKAGE_NCURSES
|
|
select BR2_PACKAGE_ALSA_LIB_MIXER
|
|
|
|
comment "alsamixer needs a toolchain w/ wchar"
|
|
depends on !BR2_USE_WCHAR
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ALSAUCM
|
|
bool "alsaucm"
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ALSATPLG
|
|
bool "alsatplg"
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_AMIDI
|
|
bool "amidi"
|
|
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_AMIXER
|
|
bool "amixer"
|
|
select BR2_PACKAGE_ALSA_LIB_MIXER
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_APLAY
|
|
bool "aplay/arecord"
|
|
select BR2_PACKAGE_ALSA_LIB_PCM
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI
|
|
bool "aplaymidi"
|
|
select BR2_PACKAGE_ALSA_LIB_SEQ
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI
|
|
bool "arecordmidi"
|
|
select BR2_PACKAGE_ALSA_LIB_SEQ
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ASEQDUMP
|
|
bool "aseqdump"
|
|
select BR2_PACKAGE_ALSA_LIB_SEQ
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_ASEQNET
|
|
bool "aseqnet"
|
|
select BR2_PACKAGE_ALSA_LIB_SEQ
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_BAT
|
|
bool "bat"
|
|
help
|
|
ALSABAT (ALSA Basic Audio Tester) is a simple command-line
|
|
utility intended to help automate audio driver and sound
|
|
server testing with little human interaction.
|
|
|
|
Note that analysis support in alsabat requires fftw single
|
|
precision.
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_IECSET
|
|
bool "iecset"
|
|
select BR2_PACKAGE_ALSA_LIB_PCM
|
|
|
|
config BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST
|
|
bool "speaker-test"
|
|
select BR2_PACKAGE_ALSA_LIB_PCM
|
|
|
|
endif
|