mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] alsa-lib: add missing use-case-manager -> mixer dependency
@ 2020-02-25 17:03 Philipp Zabel
  2020-02-26  7:08 ` Juergen Borleis
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2020-02-25 17:03 UTC (permalink / raw)
  To: ptxdist

Fixes the following build failure if ALSA_LIB_UCM is enabled but
ALSA_LIB_MIXER is disabled:

    CCLD     libasound.la
  .../arm-v7a-linux-gnueabihf/bin/ld: ucm/.libs/libucm.a(main.o): in function `snd_use_case_parse_selem_id':
  .../alsa-lib-1.2.1.2/src/ucm/main.c:1968: undefined reference to `snd_mixer_selem_id_parse'

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/alsa-lib.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/alsa-lib.in b/rules/alsa-lib.in
index ae859fee376a..23c6c9b1cd1c 100644
--- a/rules/alsa-lib.in
+++ b/rules/alsa-lib.in
@@ -8,6 +8,7 @@ menuconfig ALSA_LIB
 	select LIBC_PTHREAD
 	select LIBC_RT
 	select GCCLIBS_GCC_S
+	select ALSA_LIB_MIXER		if ALSA_LIB_UCM
 	help
 	  This is the userspace library to the kernel's "Advanced Linux Sound Architecture" feature
 
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] alsa-lib: add missing use-case-manager -> mixer dependency
  2020-02-25 17:03 [ptxdist] [PATCH] alsa-lib: add missing use-case-manager -> mixer dependency Philipp Zabel
@ 2020-02-26  7:08 ` Juergen Borleis
  0 siblings, 0 replies; 2+ messages in thread
From: Juergen Borleis @ 2020-02-26  7:08 UTC (permalink / raw)
  To: ptxdist

Hi Phillip,

Am Dienstag, den 25.02.2020, 18:03 +0100 schrieb Philipp Zabel:
> Fixes the following build failure if ALSA_LIB_UCM is enabled but
> ALSA_LIB_MIXER is disabled:
> 
>     CCLD     libasound.la
>   .../arm-v7a-linux-gnueabihf/bin/ld: ucm/.libs/libucm.a(main.o): in function
> `snd_use_case_parse_selem_id':
>   .../alsa-lib-1.2.1.2/src/ucm/main.c:1968: undefined reference to
> `snd_mixer_selem_id_parse'
> 
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
>  rules/alsa-lib.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/rules/alsa-lib.in b/rules/alsa-lib.in
> index ae859fee376a..23c6c9b1cd1c 100644
> --- a/rules/alsa-lib.in
> +++ b/rules/alsa-lib.in
> @@ -8,6 +8,7 @@ menuconfig ALSA_LIB
>  	select LIBC_PTHREAD
>  	select LIBC_RT
>  	select GCCLIBS_GCC_S
> +	select ALSA_LIB_MIXER		if ALSA_LIB_UCM
>  	help
>  	  This is the userspace library to the kernel's "Advanced Linux Sound Architecture" feature

And I thought I had test *all* permutations...

Acked-by: Juergen Borleis <jbe@pengutronix.de>

-- 
Pengutronix e.K.                       | Juergen Borleis             |
Steuerwalder Str. 21                   | https://www.pengutronix.de/ |
31137 Hildesheim, Germany              | Phone: +49-5121-206917-5128 |
Amtsgericht Hildesheim, HRA 2686       | Fax:   +49-5121-206917-5555 |


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-26  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-25 17:03 [ptxdist] [PATCH] alsa-lib: add missing use-case-manager -> mixer dependency Philipp Zabel
2020-02-26  7:08 ` Juergen Borleis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox