summaryrefslogtreecommitdiffstats
path: root/rules/alsa-lib.make
diff options
context:
space:
mode:
authorBernhard Walle <walle@corscience.de>2011-11-08 16:21:48 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-11-08 17:00:45 +0100
commit3a7816712964d6601b433aa08db2aed30847b3b7 (patch)
treed152403df87e1912ad19c656433f614e7a48cd3c /rules/alsa-lib.make
parent0272b554812ed1e94d5bc1bfff7c4c47eed0e739 (diff)
downloadptxdist-3a7816712964d6601b433aa08db2aed30847b3b7.tar.gz
ptxdist-3a7816712964d6601b433aa08db2aed30847b3b7.tar.xz
alsa-lib: Allow installation of /etc/asound.conf
Some systems require a tuned /etc/asound.conf, for example for special mixer entries. Signed-off-by: Bernhard Walle <walle@corscience.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/alsa-lib.make')
-rw-r--r--rules/alsa-lib.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/alsa-lib.make b/rules/alsa-lib.make
index 929ab4e42..a8288dcef 100644
--- a/rules/alsa-lib.make
+++ b/rules/alsa-lib.make
@@ -207,6 +207,10 @@ endif
/usr/share/alsa/pcm/dsnoop.conf)
endif
+ifdef PTXCONF_ALSA_LIB_ASOUND_CONF
+ @$(call install_alternative, alsa-lib, 0, 0, 0644, /etc/asound.conf)
+endif
+
@$(call install_finish, alsa-lib)
@$(call touch)