From: Peter Korsgaard Date: Mon, 26 Apr 2010 20:58:25 +0000 (+0200) Subject: alsa-utils: fix usr/share/alsa installation to target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ad2672470109ddea4c467a67b0ddae6471e6f9c;p=buildroot.git alsa-utils: fix usr/share/alsa installation to target Closes #1573 Signed-off-by: Peter Korsgaard --- diff --git a/CHANGES b/CHANGES index 2e4cdeb390..7decafdb6f 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 99d85ce01b..8348f4cdde 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)