From bc69b1c1545f663d5e95f6e9791266f8d993ad11 Mon Sep 17 00:00:00 2001 From: Juergen Beisert Date: Wed, 14 Sep 2011 11:13:59 +0200 Subject: 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 --- rules/alsa-utils.make | 5 ++--- 1 file 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) -- cgit v1.2.3