kumquat-buildroot/package/alsa-utils/Config.in
Vicente Olivert Riera 48fe144111 alsa-utils: fix linking with intl
alsa-utils needs to link with intl if the toolchain needs gettext and
locale is set. Otherwise we will see an error like this one:

alsamixer-cli.o: In function `main':
cli.c:(.text.startup+0x4d): undefined reference to `libintl_textdomain'
cli.c:(.text.startup+0xc1): undefined reference to `libintl_gettext'
cli.c:(.text.startup+0xd5): undefined reference to `libintl_gettext'
cli.c:(.text.startup+0xe9): undefined reference to `libintl_gettext'
cli.c:(.text.startup+0x1fd): undefined reference to `libintl_gettext'
cli.c:(.text.startup+0x223): undefined reference to `libintl_gettext'

Fixes:
  http://autobuild.buildroot.net/results/707/707016a2490fc97b98d17e2b6a9c6423a56bb4a9/

[Peter: correct autobuilder reference]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-11 21:47:21 +01:00

84 lines
1.9 KiB
Plaintext

comment "alsa-utils needs a toolchain w/ largefile, threads"
depends on BR2_USE_MMU # fork
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_ALSA_UTILS
bool "alsa-utils"
depends on BR2_USE_MMU # fork
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
This package contains the command line utilities for the ALSA
project.
http://www.alsa-project.org/
if BR2_PACKAGE_ALSA_UTILS
menu "ALSA utils selection"
config BR2_PACKAGE_ALSA_UTILS_ALSACONF
bool "alsaconf"
config BR2_PACKAGE_ALSA_UTILS_ALSACTL
bool "alsactl"
default y
config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER
bool "alsamixer"
select BR2_PACKAGE_NCURSES
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
comment "alsamixer needs a toolchain w/ wchar"
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
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
endif