From: Daniel Golle Date: Tue, 19 Jan 2016 09:46:43 +0000 (+0100) Subject: dahdi-linux: skip blob firmware download X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=6dd432b5be7f27f4a4f49cd0a3e6a2c801b99583;p=feed%2Ftelephony.git 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 --- 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."