From 9bc898b8f4d715523917f361abfa52ec5570f256 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Mon, 22 Oct 2018 12:24:10 +0200 Subject: [PATCH] batman-adv: Re-add kmod-lib-crc16 back to dependency line The OpenWrt dependency builder cannot extract the crc16 dependency from the KMOD_BATMAN_ADV_BLA dependencies. They have to be specified directly in the OpenWrt Makefile's DEPENDS line to avoid error when BLA is enabled: Package kmod-batman-adv is missing dependencies for the following libraries: crc16.ko Reported-by: Lech Perczak Fixes: 0db66160aaab ("batman-adv: Sync config options with kernel Kconfig") Signed-off-by: Sven Eckelmann --- batman-adv/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/batman-adv/Makefile b/batman-adv/Makefile index 36c764e..898efe3 100644 --- a/batman-adv/Makefile +++ b/batman-adv/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=batman-adv PKG_VERSION:=2018.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_HASH:=33f3f942203732e0568a6bc0226a0fe8eb147c961f0d0c13b2e6b16237d412ff PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -27,7 +27,7 @@ define KernelPackage/batman-adv URL:=https://www.open-mesh.org/ MAINTAINER:=Simon Wunderlich SUBMENU:=Network Support - DEPENDS:=+kmod-lib-crc32c +kmod-cfg80211 + DEPENDS:=+BATMAN_ADV_BLA:kmod-lib-crc16 +kmod-lib-crc32c +kmod-cfg80211 TITLE:=B.A.T.M.A.N. Adv FILES:=$(PKG_BUILD_DIR)/net/batman-adv/batman-adv.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoProbe,batman-adv) -- 2.30.2