diff options
author | Sean Bright <sean@malleable.com> | 2008-07-01 14:44:03 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2008-07-01 14:44:03 +0000 |
commit | eaa02977f47c35ac8c9b1dc547822df6c7a5d1d3 (patch) | |
tree | 9567ac32d23fbe3912f5afa0d61cd222190191fc /drivers/dahdi | |
parent | 3f85873318cde9423df84580a3378d6df6e94107 (diff) |
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
Diffstat (limited to 'drivers/dahdi')
-rw-r--r-- | drivers/dahdi/firmware/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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; |