From 6dd432b5be7f27f4a4f49cd0a3e6a2c801b99583 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 19 Jan 2016 10:46:43 +0100 Subject: [PATCH] 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 --- libs/dahdi-linux/Makefile | 2 +- .../patches/070-no-firmware-blob-download.patch | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 libs/dahdi-linux/patches/070-no-firmware-blob-download.patch 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." -- 2.30.2