dahdi-linux: skip blob firmware download
authorDaniel Golle <daniel@makrotopia.org>
Tue, 19 Jan 2016 09:46:43 +0000 (10:46 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 19 Jan 2016 10:15:31 +0000 (11:15 +0100)
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>
libs/dahdi-linux/Makefile
libs/dahdi-linux/patches/070-no-firmware-blob-download.patch [new file with mode: 0644]

index 7ae57bd30fdb2bb34dcf620eca588b74913e9d82..daeaa738fc345c4f8bef14051911dada1097aa19 100644 (file)
@@ -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 (file)
index 0000000..90e4547
--- /dev/null
@@ -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."