summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2018-10-07 13:20:30 +0200
committerSven Eckelmann <sven@narfation.org>2018-10-14 16:04:31 +0200
commitb9656fb31ec8c806cd58a72a970bd14c464ea309 (patch)
tree9bb53f7be9068fdf4eb47ee7861749d8d86c78c2
parent059d7266a93bd307a69db8684babec54abf8e9ef (diff)
batman-adv: Fix search for cfg80211 module symbols
The Module.symvers with the exported symbols of all other kernel modules in OpenWrt is usually placed in the main source directory of the package. But the actual sources for batman-adv are found in net/batman-adv. OpenWrt must therefore be informed to move it to this subdirectory or otherwise modpost will fail to find the symbols WARNING: "cfg80211_get_station" [.../batman-adv-2018.1/net/batman-adv/batman-adv.ko] undefined! The dependency will then be missing in the .modinfo depends= option and thus it the kernel module loader will not correctly load the cfg80211.ko during bootup. Signed-off-by: Sven Eckelmann <sven@narfation.org>
-rw-r--r--batman-adv/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/batman-adv/Makefile b/batman-adv/Makefile
index 1f68cdc..e261015 100644
--- a/batman-adv/Makefile
+++ b/batman-adv/Makefile
@@ -16,6 +16,7 @@ PKG_HASH:=b866b28dbbe5c9238abbdf5abbc30fc526dea56898ce4c1bd76d5c017843048b
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://downloads.open-mesh.org/batman/releases/batman-adv-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0
+PKG_EXTMOD_SUBDIRS=net/batman-adv
STAMP_CONFIGURED_DEPENDS := $(STAGING_DIR)/usr/include/mac80211-backport/backport/autoconf.h