alsa-utils: fix usr/share/alsa installation to target

Closes #1573

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2010-04-26 22:58:25 +02:00
parent e0db53202c
commit 5ad2672470
2 changed files with 7 additions and 1 deletions

View File

@ -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:

View File

@ -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)