summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2016-01-19 09:46:43 +0000
committerDaniel Golle2016-01-19 10:15:31 +0000
commit6dd432b5be7f27f4a4f49cd0a3e6a2c801b99583 (patch)
treecdcefc903bd315803f5f9d40b79ad5061b105f2c
parent14e503db0ae3b73a4c7b0fb128677e32f6f0d6bc (diff)
downloadtelephony-6dd432b5be7f27f4a4f49cd0a3e6a2c801b99583.tar.gz
dahdi-linux: skip blob firmware download
DAHDI tries downloading firmware blobs from Digium's server which are for hardware not supported by the OpenWrt package and those blobs are licensed prohibiting redistribution. Thus there is no point in downloading them at all, especially as the download failing frequently causes build failures. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--libs/dahdi-linux/Makefile2
-rw-r--r--libs/dahdi-linux/patches/070-no-firmware-blob-download.patch17
2 files changed, 18 insertions, 1 deletions
diff --git a/libs/dahdi-linux/Makefile b/libs/dahdi-linux/Makefile
index 7ae57bd..daeaa73 100644
--- a/libs/dahdi-linux/Makefile
+++ b/libs/dahdi-linux/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=dahdi-linux
PKG_VERSION:=2.10.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/
diff --git a/libs/dahdi-linux/patches/070-no-firmware-blob-download.patch b/libs/dahdi-linux/patches/070-no-firmware-blob-download.patch
new file mode 100644
index 0000000..90e4547
--- /dev/null
+++ b/libs/dahdi-linux/patches/070-no-firmware-blob-download.patch
@@ -0,0 +1,17 @@
+--- a/Makefile
++++ b/Makefile
+@@ -80,12 +80,12 @@ include/dahdi/version.h: FORCE
+ fi
+ @rm -f $@.tmp
+
+-prereq: include/dahdi/version.h firmware-loaders
++prereq: include/dahdi/version.h
+
+ stackcheck: $(CHECKSTACK) modules
+ objdump -d drivers/dahdi/*.ko drivers/dahdi/*/*.ko | $(CHECKSTACK)
+
+-install: all install-modules install-include install-firmware install-xpp-firm
++install: all install-modules install-include
+ @echo "###################################################"
+ @echo "###"
+ @echo "### DAHDI installed successfully."