summaryrefslogtreecommitdiffstats
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
parente0db53202c306634005fa2f6068ea7f06d68d5ab (diff)
downloadbuildroot-novena-5ad2672470109ddea4c467a67b0ddae6471e6f9c.tar.gz
buildroot-novena-5ad2672470109ddea4c467a67b0ddae6471e6f9c.zip
alsa-utils: fix usr/share/alsa installation to target
Closes #1573 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES3
-rw-r--r--package/multimedia/alsa-utils/alsa-utils.mk5
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 2e4cdeb39..7decafdb6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,7 +12,7 @@
New packages: librsync, libatomic_ops, libusb-compat, lmbench,
netperf, squid
- Updated/fixed packages: busybox, dnsmasq, dosfstools,
+ Updated/fixed packages: alsa-utils, busybox, dnsmasq, dosfstools,
e2fsprogs, fbv, freetype, iperf, iptables, iw, less,
libaio,libdrm, libgcrypt, libglib2, libpng, libxml2, matchbox,
mdadm, memstat, mesa3d, mtd-utils, nano, openssl, pciutils,
@@ -64,6 +64,7 @@
#1555: Fix default uclibc-0.9.31 configuration
#1561: [SECURITY] Update samba to 3.3.12
#1567: openssl0.9.8n fails to compile
+ #1573: Alsa-utils alsactl/init/* not installed to target
#1591: portmap fails to compile
2010.02, Release February 26th, 2010:
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)