package: add PACKAGE_MAC80211_CAPWAP_WTP
This commit is contained in:
parent
8d594903f5
commit
85b3088c55
@ -50,7 +50,8 @@ define KernelPackage/freewtp
|
||||
SUBMENU:=Network Support
|
||||
TITLE:=Freewtp Data Channel Module
|
||||
MAINTAINER:=Travelping GmbH <info@travelping.com>
|
||||
DEPENDS:=+kmod-mac80211 +kmod-iptunnel +kmod-udptunnel4 +IPV6:kmod-udptunnel6
|
||||
DEPENDS:=+kmod-mac80211 +kmod-iptunnel +kmod-udptunnel4 +IPV6:kmod-udptunnel6 \
|
||||
+@PACKAGE_MAC80211_CAPWAP_WTP
|
||||
FILES:=$(PKG_BUILD_DIR)/kmod/wtp.ko
|
||||
AUTOLOAD:=$(call AutoLoad,70,wtp)
|
||||
endef
|
||||
@ -73,7 +74,8 @@ NOSTDINC_FLAGS = \
|
||||
-I$(STAGING_DIR)/usr/include/mac80211/uapi \
|
||||
-I$(STAGING_DIR)/usr/include/mac80211 \
|
||||
-include backport/autoconf.h \
|
||||
-include backport/backport.h
|
||||
-include backport/backport.h \
|
||||
-DCONFIG_MAC80211_CAPWAP_WTP
|
||||
|
||||
define Build/Compile/kmod
|
||||
+$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \
|
||||
|
23
openwrt/mac80211_patches/package-config-option.patch
Normal file
23
openwrt/mac80211_patches/package-config-option.patch
Normal file
@ -0,0 +1,23 @@
|
||||
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
|
||||
index 5c0ca3f..736f0bd 100644
|
||||
--- a/package/kernel/mac80211/Makefile
|
||||
+++ b/package/kernel/mac80211/Makefile
|
||||
@@ -130,6 +130,10 @@ define KernelPackage/mac80211/config
|
||||
bool "Enable 802.11s mesh support"
|
||||
default y
|
||||
|
||||
+ config PACKAGE_MAC80211_CAPWAP_WTP
|
||||
+ bool "Enabled CAPWAP support"
|
||||
+ default n
|
||||
+
|
||||
endif
|
||||
endef
|
||||
|
||||
@@ -1468,6 +1472,7 @@ config-$(call config_package,cfg80211) += CFG80211
|
||||
|
||||
config-$(call config_package,mac80211) += MAC80211
|
||||
config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
|
||||
+config-$(CONFIG_PACKAGE_MAC80211_CAPWAP_WTP) += MAC80211_CAPWAP_WTP
|
||||
ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
|
||||
config-y += \
|
||||
CFG80211_DEBUGFS \
|
Loading…
Reference in New Issue
Block a user