From eaa02977f47c35ac8c9b1dc547822df6c7a5d1d3 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Tue, 1 Jul 2008 14:44:03 +0000 Subject: Fixes a problem where the first invocation of 'make install' will not download dahdi-fw-oct6114-128 and subsequently fails on install. This may be a bug in GNU Make 3.81 as both the reporter and I are running the same version and experiencing the same issue. (closes issue #12967) Reported by: dimas Patches: 0012967.patch uploaded by seanbright (license 71) Tested by: dimas git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4490 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/firmware/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/dahdi/firmware') diff --git a/drivers/dahdi/firmware/Makefile b/drivers/dahdi/firmware/Makefile index ec74a11..c4790d3 100644 --- a/drivers/dahdi/firmware/Makefile +++ b/drivers/dahdi/firmware/Makefile @@ -64,7 +64,7 @@ clean: rm -f dahdi-fw-*.o # Download and extract firmware tarballs -dahdi-fw-oct6114-064-%.tar.gz dahdi-fw-oct6114-128-%.tar.gz dahdi-fw-tc400m-%.tar.gz dahdi-fw-vpmadt032-%.tar.gz: +dahdi-fw-oct6114-%.tar.gz dahdi-fw-tc400m-%.tar.gz dahdi-fw-vpmadt032-%.tar.gz: ifeq ($(shell if ( [ "$(HOTPLUG_FIRMWARE)" = "no" ] ) || ( [ -d $(DESTDIR)/usr/lib/hotplug/firmware ] && ! [ -f $(DESTDIR)/usr/lib/hotplug/firmware/.$(subst .tar.gz,,$*) ] ) || ( [ -d $(DESTDIR)/lib/firmware ] && ! [ -f $(DESTDIR)/lib/firmware/.$(subst .tar.gz,,$*) ] ); then echo "yes"; else echo "no"; fi),yes) @echo "Attempting to download $@" @if test ! -f $@; then $(DOWNLOAD) $(WGET_ARGS) $(FIRMWARE_URL)/$@; fi; -- cgit v1.2.3