diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-23 12:03:24 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-23 12:03:24 +0000 |
commit | 5fa1ff25ad573b446f34497d15044304d8258e9e (patch) | |
tree | bbb1f5e48e89ca4fc23a40d3f492303eea0df58b | |
parent | 85580c38a7e9113f8ea97c4ef220068294a128ce (diff) | |
download | buildroot-novena-5fa1ff25ad573b446f34497d15044304d8258e9e.tar.gz buildroot-novena-5fa1ff25ad573b446f34497d15044304d8258e9e.zip |
cleanup alsa-utils
-rw-r--r-- | package/alsa-utils/alsa-utils.mk | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk index a9b981cd6..d74763b42 100644 --- a/package/alsa-utils/alsa-utils.mk +++ b/package/alsa-utils/alsa-utils.mk @@ -3,10 +3,10 @@ # alsa-utils # ############################################################# -ALSA_UTILS_VER:=1.0.14 -ALSA_UTILS_SOURCE:=alsa-utils-$(ALSA_UTILS_VER).tar.bz2 +ALSA_UTILS_VERSION:=1.0.14 +ALSA_UTILS_SOURCE:=alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 ALSA_UTILS_SITE:=ftp://ftp.alsa-project.org/pub/utils -ALSA_UTILS_DIR:=$(BUILD_DIR)/alsa-utils-$(ALSA_UTILS_VER) +ALSA_UTILS_DIR:=$(BUILD_DIR)/alsa-utils-$(ALSA_UTILS_VERSION) ALSA_UTILS_CAT:=$(BZCAT) ALSA_UTILS_BINARY:=alsactl/alsactl ALSA_UTILS_TARGET_BINARY:=usr/sbin/alsactl @@ -16,13 +16,14 @@ $(DL_DIR)/$(ALSA_UTILS_SOURCE): $(ALSA_UTILS_DIR)/.unpacked: $(DL_DIR)/$(ALSA_UTILS_SOURCE) $(ALSA_UTILS_CAT) $(DL_DIR)/$(ALSA_UTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - toolchain/patch-kernel.sh $(ALSA_UTILS_DIR) package/alsa-utils/ alsa-utils-$(ALSA_UTILS_VER)\*.patch\* + toolchain/patch-kernel.sh $(ALSA_UTILS_DIR) package/alsa-utils/ alsa-utils-$(ALSA_UTILS_VERSION)\*.patch\* $(CONFIG_UPDATE) $(ALSA_UTILS_DIR) - @touch $(ALSA_UTILS_DIR)/.unpacked + touch $@ $(ALSA_UTILS_DIR)/.configured: $(ALSA_UTILS_DIR)/.unpacked (cd $(ALSA_UTILS_DIR); \ $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ @@ -31,11 +32,11 @@ $(ALSA_UTILS_DIR)/.configured: $(ALSA_UTILS_DIR)/.unpacked --build=$(GNU_HOST_NAME) \ --prefix=/usr \ ); - @touch $@ + touch $@ $(ALSA_UTILS_DIR)/$(ALSA_UTILS_BINARY): $(ALSA_UTILS_DIR)/.configured $(MAKE) CC=$(TARGET_CC) -C $(ALSA_UTILS_DIR) - @touch -c $@ + touch -c $@ ALSA_UTILS_TARGETS_ := ALSA_UTILS_TARGETS_y := @@ -57,18 +58,18 @@ ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST) += usr/bin/speaker-tes $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY): $(ALSA_UTILS_DIR)/$(ALSA_UTILS_BINARY) $(MAKE) DESTDIR=$(STAGING_DIR) -C $(ALSA_UTILS_DIR) install - @mkdir -p $(TARGET_DIR)/usr/bin - @mkdir -p $(TARGET_DIR)/usr/sbin + mkdir -p $(TARGET_DIR)/usr/bin + mkdir -p $(TARGET_DIR)/usr/sbin for file in $(ALSA_UTILS_TARGETS_y) ; do \ cp -dpf $(STAGING_DIR)/$$file $(TARGET_DIR)/$$file; \ done - @if [ -x "$(TARGET_DIR)/usr/bin/speaker-test" ] ; then \ + if [ -x "$(TARGET_DIR)/usr/bin/speaker-test" ] ; then \ mkdir -p $(TARGET_DIR)/usr/share/alsa/speaker-test; \ mkdir -p $(TARGET_DIR)/usr/share/sounds/alsa; \ 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; - @touch -c $@ + touch -c $@ alsa-utils: uclibc alsa-lib ncurses $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY) |