[alsa-devel] [PATCH 3/8] Set firmware location to /lib/firmware, as expected with modern udev.

Takashi Iwai tiwai at suse.de
Thu May 16 09:48:57 CEST 2013


At Wed, 15 May 2013 19:19:06 +0200,
Jordi Mallach wrote:
> 
> Signed-off-by: Jordi Mallach <jordi at debian.org>

These files are not loaded by udev but by their own hwdep loaders.
In other words, they have nothing to do with udev, thus you cannot
break the backward compatibility.  The firmware files are installed by
a different package, thus there is no guarantee that they are located
in /lib/firmware/*.


thanks,

Takashi

> ---
>  hdsploader/Makefile.am   |    2 +-
>  mixartloader/Makefile.am |    2 +-
>  pcxhrloader/Makefile.am  |    2 +-
>  usx2yloader/Makefile.am  |    2 +-
>  vxloader/Makefile.am     |    2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/hdsploader/Makefile.am b/hdsploader/Makefile.am
> index 17cedc7..a7abefb 100644
> --- a/hdsploader/Makefile.am
> +++ b/hdsploader/Makefile.am
> @@ -3,7 +3,7 @@ MYNAME = hdsploader
>  
>  bin_PROGRAMS = hdsploader
>  
> -AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
> +AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
>  
>  hdsploader_SOURCES = hdsploader.c
>  
> diff --git a/mixartloader/Makefile.am b/mixartloader/Makefile.am
> index 1b488c4..2b7ca3b 100644
> --- a/mixartloader/Makefile.am
> +++ b/mixartloader/Makefile.am
> @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = 1.3 foreign
>  
>  MYNAME = mixartloader
>  
> -AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
> +AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
>  
>  bin_PROGRAMS = mixartloader
>  
> diff --git a/pcxhrloader/Makefile.am b/pcxhrloader/Makefile.am
> index e6a0107..ab0b07d 100644
> --- a/pcxhrloader/Makefile.am
> +++ b/pcxhrloader/Makefile.am
> @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = 1.3 foreign
>  
>  MYNAME = pcxhrloader
>  
> -AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
> +AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
>  
>  bin_PROGRAMS = pcxhrloader
>  
> diff --git a/usx2yloader/Makefile.am b/usx2yloader/Makefile.am
> index 4dd26a2..9ac7ba3 100644
> --- a/usx2yloader/Makefile.am
> +++ b/usx2yloader/Makefile.am
> @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = 1.3 foreign
>  
>  MYNAME = usx2yloader
>  
> -AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
> +AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
>  
>  bin_PROGRAMS = usx2yloader
>  
> diff --git a/vxloader/Makefile.am b/vxloader/Makefile.am
> index 415d776..0316722 100644
> --- a/vxloader/Makefile.am
> +++ b/vxloader/Makefile.am
> @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = 1.3 foreign
>  
>  MYNAME = vxloader
>  
> -AM_CFLAGS = -DDATAPATH=\"$(datadir)/alsa/firmware/$(MYNAME)\"
> +AM_CFLAGS = -DDATAPATH=\"/lib/firmware/$(MYNAME)\"
>  
>  bin_PROGRAMS = vxloader
>  
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list