dahdi-linux: clean up deps, remove unused var
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 3 Oct 2020 16:46:08 +0000 (18:46 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 3 Oct 2020 16:47:00 +0000 (18:47 +0200)
The kernel versions are no longer supported by OpenWrt. And the variable
is never used.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/dahdi-linux/Makefile

index 766fcfba1076923ef79547f5e3ed3ad707bdb720..44f0baa52b5db63cec780ab01f5a052410a871cd 100644 (file)
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=dahdi-linux
 PKG_VERSION:=3.1.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/dahdi-linux/releases
@@ -20,14 +20,12 @@ PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=LICENSE
 PKG_MAINTAINER:=Vittorio Gambaletta <openwrt@vittgam.net>
 
-DAHDI_MODULES_EXTRA:=
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/dahdi
   SUBMENU:=Voice over IP
   TITLE:=DAHDI basic infrastructure
-  DEPENDS:=@!(LINUX_4_9||LINUX_4_14) @USB_SUPPORT +kmod-lib-crc-ccitt
+  DEPENDS:=@USB_SUPPORT +kmod-lib-crc-ccitt
   URL:=http://www.asterisk.org/
   FILES:= $(PKG_BUILD_DIR)/drivers/dahdi/dahdi.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoProbe,dahdi)
@@ -92,8 +90,7 @@ define Build/Compile
                ARCH="$(LINUX_KARCH)" \
                $(TARGET_CONFIGURE_OPTS) \
                CROSS_COMPILE="$(TARGET_CROSS)" \
-               KSRC="$(LINUX_DIR)" \
-               MODULES_EXTRA="$(DAHDI_MODULES_EXTRA)"
+               KSRC="$(LINUX_DIR)"
 endef
 
 define Build/InstallDev