summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-04-26 22:58:25 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-04-26 22:58:25 +0200
commit5ad2672470109ddea4c467a67b0ddae6471e6f9c (patch)
treed19bfa0f1b80f94562f7d7d49989bd98674a05c2 /package
parente0db53202c306634005fa2f6068ea7f06d68d5ab (diff)
alsa-utils: fix usr/share/alsa installation to target
Closes #1573 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/multimedia/alsa-utils/alsa-utils.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/multimedia/alsa-utils/alsa-utils.mk b/package/multimedia/alsa-utils/alsa-utils.mk
index 99d85ce01..8348f4cdd 100644
--- a/package/multimedia/alsa-utils/alsa-utils.mk
+++ b/package/multimedia/alsa-utils/alsa-utils.mk
@@ -78,6 +78,11 @@ $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY): $(ALSA_UTILS_DIR)/$(ALSA_UTILS_BINARY
cp -rdpf $(STAGING_DIR)/usr/share/alsa/speaker-test/* $(TARGET_DIR)/usr/share/alsa/speaker-test/; \
cp -rdpf $(STAGING_DIR)/usr/share/sounds/alsa/* $(TARGET_DIR)/usr/share/sounds/alsa/; \
fi
+ if [ -x "$(TARGET_DIR)/usr/sbin/alsactl" ]; then \
+ mkdir -p $(TARGET_DIR)/usr/share/; \
+ rm -rf $(TARGET_DIR)/usr/share/alsa/; \
+ cp -rdpf $(STAGING_DIR)/usr/share/alsa/ $(TARGET_DIR)/usr/share/alsa/; \
+ fi
touch -c $@
alsa-utils: alsa-lib $(if $(BR2_PACKAGE_NCURSES),ncurses) $(if $(BR2_PACKAGE_LIBINTL),libintl) $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY)