diff --git a/decollector/Makefile b/decollector/Makefile index 29089cb11..df7c8ea38 100644 --- a/decollector/Makefile +++ b/decollector/Makefile @@ -29,7 +29,7 @@ define Package/decollector CATEGORY:=Utilities TITLE:=WiFi DataElements Collector Proxy DEPENDS:=+libuci +libubox +ubus +libpthread +libnl-genl \ - +libeasy +libwifiutils +libieee1905 +map-plugin + +libeasy +libwifiutils +libieee1905 +ieee1905-map-plugin endef define Package/decollector/description diff --git a/ieee1905/Makefile b/ieee1905/Makefile index 090566102..c7078c171 100644 --- a/ieee1905/Makefile +++ b/ieee1905/Makefile @@ -60,12 +60,12 @@ define Package/libieee1905/description endef plugins := \ - $(if $(CONFIG_PACKAGE_map-plugin),map) \ - $(if $(CONFIG_PACKAGE_snoop-plugin),snoop) \ - $(if $(CONFIG_PACKAGE_topology-plugin),topology) + $(if $(CONFIG_PACKAGE_ieee1905-map-plugin),map) \ + $(if $(CONFIG_PACKAGE_ieee1905-snoop-plugin),snoop) \ + $(if $(CONFIG_PACKAGE_ieee1905-topology-plugin),topology) -ppkg:=$(patsubst plugins/%.mk,%-plugin,$(wildcard plugins/*.mk)) +ppkg:=$(patsubst plugins/%.mk,ieee1905-%-plugin,$(wildcard plugins/*.mk)) TARGET_CFLAGS += \ diff --git a/ieee1905/plugins/map.mk b/ieee1905/plugins/map.mk index 1539654c4..dd48c5e36 100644 --- a/ieee1905/plugins/map.mk +++ b/ieee1905/plugins/map.mk @@ -1,12 +1,12 @@ -define Package/map-plugin +define Package/ieee1905-map-plugin $(call Package/ieee1905/Default) TITLE:=Multi-AP plugin supporting WiFi-Alliance Easymesh standard DEPENDS= +libubox +libuci +libubus +libeasy +libnl-genl \ +libjson-c +libblobmsg-json +ieee1905 +libieee1905 endef -define Package/map-plugin/config - if (PACKAGE_map-plugin) +define Package/ieee1905-map-plugin/config + if (PACKAGE_ieee1905-map-plugin) menu "Configuration" @@ -32,7 +32,7 @@ ifeq ($(CONFIG_MULTIAP_DYNAMIC_CNTLR_SYNC_CONFIG),y) TARGET_CFLAGS += -DDYNAMIC_CNTLR_SYNC_CONFIG endif -define Build/InstallDev/map-plugin +define Build/InstallDev/ieee1905-map-plugin $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/lib/ieee1905 @@ -43,7 +43,7 @@ define Build/InstallDev/map-plugin $(CP) $(PKG_BUILD_DIR)/src/extensions/map/libmaputil.so $(1)/usr/lib/libmaputil.so endef -define Package/map-plugin/install +define Package/ieee1905-map-plugin/install $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib/ieee1905 $(CP) $(PKG_BUILD_DIR)/src/extensions/map/libmaputil.so $(1)/usr/lib/libmaputil.so diff --git a/ieee1905/plugins/snoop.mk b/ieee1905/plugins/snoop.mk index 9e95e403b..9ceacad6b 100644 --- a/ieee1905/plugins/snoop.mk +++ b/ieee1905/plugins/snoop.mk @@ -1,11 +1,11 @@ -define Package/snoop-plugin +define Package/ieee1905-snoop-plugin $(call Package/ieee1905/Default) TITLE:=Show all received 1905 CMDUs over UBUS DEPENDS= +libubox +libuci +libubus +libeasy +libnl-genl \ +libjson-c +libblobmsg-json +ieee1905 +libieee1905 endef -define Package/snoop-plugin/install +define Package/ieee1905-snoop-plugin/install $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib/ieee1905 $(CP) $(PKG_BUILD_DIR)/src/extensions/snoop/snoop.so $(1)/usr/lib/ieee1905/snoop.so diff --git a/ieee1905/plugins/topology.mk b/ieee1905/plugins/topology.mk index 9951bdf5a..d9f62b8c6 100644 --- a/ieee1905/plugins/topology.mk +++ b/ieee1905/plugins/topology.mk @@ -1,11 +1,11 @@ -define Package/topology-plugin +define Package/ieee1905-topology-plugin $(call Package/ieee1905/Default) TITLE:=Build full network topology of the 1905 nodes only DEPENDS= +libubox +libuci +libubus +libeasy +libnl-genl \ +libjson-c +libblobmsg-json +ieee1905 +libieee1905 endef -define Package/topology-plugin/install +define Package/ieee1905-topology-plugin/install $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib/ieee1905 $(CP) $(PKG_BUILD_DIR)/src/extensions/topology/topology.so $(1)/usr/lib/ieee1905/topology.so diff --git a/iop/config b/iop/config index 32418ba11..e14dde08f 100644 --- a/iop/config +++ b/iop/config @@ -71,7 +71,7 @@ CONFIG_PACKAGE_wifimngr=y # Multi-AP # CONFIG_PACKAGE_ieee1905=y CONFIG_IEEE1905_CMDU_SA_IS_ALMAC=y -CONFIG_PACKAGE_topology-plugin=y +CONFIG_PACKAGE_ieee1905-topology-plugin=y CONFIG_PACKAGE_decollector=y CONFIG_PACKAGE_map-agent=y CONFIG_PACKAGE_map-controller=y diff --git a/map-agent/Makefile b/map-agent/Makefile index c833867b1..3e3aec9be 100644 --- a/map-agent/Makefile +++ b/map-agent/Makefile @@ -28,7 +28,7 @@ define Package/map-agent CATEGORY:=Utilities TITLE:=WiFi multi-AP Agent (EasyMesh R2) DEPENDS:=+libwifi +libuci +libubox +ubus +libeasy +libieee1905 +ieee1905 \ - +map-plugin +ip-bridge +AGENT_USE_LIBDPP:libdpp + +ieee1905-map-plugin +ip-bridge +AGENT_USE_LIBDPP:libdpp endef ifeq ($(CONFIG_AGENT_USE_LIBDPP),y) @@ -40,7 +40,7 @@ define Package/dynbhd CATEGORY:=Utilities TITLE:=Dynamic Backhaul Daemon DEPENDS:=+libwifi +libuci +libubox +ubus +libeasy +libieee1905 +ieee1905 \ - +map-plugin +map-agent + +ieee1905-map-plugin +map-agent endef diff --git a/map-controller/Makefile b/map-controller/Makefile index b41f56327..181df61e7 100644 --- a/map-controller/Makefile +++ b/map-controller/Makefile @@ -27,7 +27,7 @@ define Package/map-controller SECTION:=utils CATEGORY:=Utilities TITLE:=WiFi Multi-AP Controller (EasyMesh R2) - DEPENDS:=+libuci +libubox +ubus +libeasy +libwifiutils +libieee1905 +ieee1905 +map-plugin \ + DEPENDS:=+libuci +libubox +ubus +libeasy +libwifiutils +libieee1905 +ieee1905 +ieee1905-map-plugin \ +CONTROLLER_USE_LIBDPP:libdpp endef