From 8eea8732173c88afe8804b4ad0b19b488c069904 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 3 Oct 2020 18:46:08 +0200 Subject: [PATCH] dahdi-linux: clean up deps, remove unused var The kernel versions are no longer supported by OpenWrt. And the variable is never used. Signed-off-by: Sebastian Kemper --- libs/dahdi-linux/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libs/dahdi-linux/Makefile b/libs/dahdi-linux/Makefile index 766fcfb..44f0baa 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:=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 -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 -- 2.30.2