mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
map-plugins: 1.0.18 (bsteer)
This commit is contained in:
parent
37d313ccc5
commit
4ac917a191
3 changed files with 27 additions and 7 deletions
|
|
@ -5,12 +5,12 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=map-plugins
|
PKG_NAME:=map-plugins
|
||||||
PKG_VERSION:=0.0.4
|
PKG_VERSION:=1.0.18
|
||||||
|
|
||||||
LOCAL_DEV=0
|
LOCAL_DEV=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_VERSION:=74bf151851112ecee731d447af016c8dc668adcf
|
PKG_SOURCE_VERSION:=f608dab36090f0dfd7ea3e0e5dc30381520b2b7e
|
||||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/multi-ap/map-plugins.git
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/multi-ap/map-plugins.git
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
|
||||||
PKG_MIRROR_HASH:=skip
|
PKG_MIRROR_HASH:=skip
|
||||||
|
|
@ -31,7 +31,8 @@ MAKE_FLAGS += \
|
||||||
CFLAGS="$(TARGET_CFLAGS) -Wall"
|
CFLAGS="$(TARGET_CFLAGS) -Wall"
|
||||||
|
|
||||||
plugins := \
|
plugins := \
|
||||||
$(if $(CONFIG_PACKAGE_map-plugins-steer-rate),steer-rate)
|
$(if $(CONFIG_PACKAGE_map-plugins-steer-rate),steer-rate) \
|
||||||
|
$(if $(CONFIG_PACKAGE_map-plugins-bsteer),bsteer)
|
||||||
|
|
||||||
ppkg:=$(patsubst plugins/%.mk,map-plugins-%,$(wildcard plugins/*.mk))
|
ppkg:=$(patsubst plugins/%.mk,map-plugins-%,$(wildcard plugins/*.mk))
|
||||||
|
|
||||||
|
|
@ -52,7 +53,7 @@ define Package/map-plugins
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/map-plugins/description
|
define Package/map-plugins/description
|
||||||
Provides extra Multi-AP services viz. steering, channel-planning etc.
|
Provides extra Multi-AP services viz. steering, channel-planning, self-organizing network etc.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/map-plugins/install
|
define Package/map-plugins/install
|
||||||
|
|
@ -60,9 +61,8 @@ define Package/map-plugins/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(foreach p,$(ppkg),$(call Build/Compile/$(p),$(1)))
|
$(foreach p,$(plugins),$(call Build/Compile/map-plugins-$(p), $(1)))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,map-plugins))
|
$(eval $(call BuildPackage,map-plugins))
|
||||||
$(eval $(foreach p,$(ppkg),$(call BuildPackage,$(p))))
|
$(eval $(foreach p,$(ppkg),$(call BuildPackage,$(p))))
|
||||||
|
|
|
||||||
20
map-plugins/plugins/bsteer.mk
Normal file
20
map-plugins/plugins/bsteer.mk
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
define Package/map-plugins-bsteer
|
||||||
|
$(call Package/map-plugins/Default)
|
||||||
|
TITLE:=Wi-Fi backhaul steering plugin based on maximizing backhaul throughput
|
||||||
|
DEPENDS= +libubox +libuci +libubus +libeasy +libnl-genl \
|
||||||
|
+libjson-c +libblobmsg-json +map-controller \
|
||||||
|
+map-plugins
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/map-plugins-bsteer/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/mapcontroller
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/steer/bsteer/bsteer.so $(1)/usr/lib/mapcontroller/bsteer.so
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Compile/map-plugins-bsteer
|
||||||
|
$(MAKE) -C $(PKG_BUILD_DIR)/steer/bsteer \
|
||||||
|
CC="$(TARGET_CC)" \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
LDFLAGS="$(TARGET_LDFLAGS)";
|
||||||
|
endef
|
||||||
|
|
@ -16,5 +16,5 @@ define Build/Compile/map-plugins-steer-rate
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/steer/rate \
|
$(MAKE) -C $(PKG_BUILD_DIR)/steer/rate \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
LDFLAGS="$(TARGET_LDFLAGS)"
|
LDFLAGS="$(TARGET_LDFLAGS)";
|
||||||
endef
|
endef
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue