summaryrefslogtreecommitdiffstats
path: root/rules/alsa-utils.make
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2011-09-14 11:13:59 +0200
committerJuergen Beisert <jbe@pengutronix.de>2011-09-14 11:13:59 +0200
commitbc69b1c1545f663d5e95f6e9791266f8d993ad11 (patch)
tree080121546cfcf4873d527cf3be133c5b77f7ba4e /rules/alsa-utils.make
parent9133bbbf0d2a5f24e5ce67e2a4725d19fd7f62af (diff)
downloadptxdist-bc69b1c1545f663d5e95f6e9791266f8d993ad11.tar.gz
ptxdist-bc69b1c1545f663d5e95f6e9791266f8d993ad11.tar.xz
ALSA utils: Adapt sound state rule to be more flexible
Most of the time the ALSA sound state file belongs more to the platform than to the BSP. Using the macro 'install_alternative' instead of a fixed path enables users to store the requested file in the platform as well. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Diffstat (limited to 'rules/alsa-utils.make')
-rw-r--r--rules/alsa-utils.make5
1 files changed, 2 insertions, 3 deletions
diff --git a/rules/alsa-utils.make b/rules/alsa-utils.make
index 2b1741f19..19c2061db 100644
--- a/rules/alsa-utils.make
+++ b/rules/alsa-utils.make
@@ -108,9 +108,8 @@ endif
endif
ifdef PTXCONF_ALSA_UTILS_ASOUND_STATE
- @$(call install_copy, alsa-utils, 0, 0, 0644, \
- $(PTXDIST_WORKSPACE)/projectroot/etc/asound.state, \
- /etc/asound.state)
+ @$(call install_alternative, alsa-utils, 0, 0, 0644, \
+ /etc/asound.state, n)
endif
@$(call install_finish, alsa-utils)