f99767fb9f
gluon-mesh-batman-adv should not be used without firewall to prevent forwarding of packets from the mesh to the wan interface. For some reason, the firewall package won't work at all without kmod-ipt-nathelper.
38 lines
781 B
Makefile
38 lines
781 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gluon-mesh-batman-adv
|
|
PKG_VERSION:=1
|
|
PKG_RELEASE:=1.$(GLUON_CONFIG_VERSION)
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/gluon-mesh-batman-adv
|
|
SECTION:=gluon
|
|
CATEGORY:=Gluon
|
|
TITLE:=Support for batman-adv meshing
|
|
DEPENDS:=+gluon-core +kmod-batman-adv +firewall +kmod-ipt-nathelper
|
|
endef
|
|
|
|
define Package/gluon-mesh-batman-adv/description
|
|
Gluon community wifi mesh firmware framework: batman-adv support
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/gluon-mesh-batman-adv/install
|
|
$(CP) ./files/* $(1)/
|
|
$(GLUON_GENERATE) ./generate/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,gluon-mesh-batman-adv))
|