2017-04-12 02:22:45 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gluon-mesh-batman-adv
|
|
|
|
PKG_VERSION:=1
|
|
|
|
|
|
|
|
include ../gluon.mk
|
|
|
|
|
|
|
|
define Package/gluon-mesh-batman-adv/common
|
|
|
|
PROVIDES:=gluon-mesh-batman-adv
|
2019-02-18 17:34:38 +00:00
|
|
|
DEPENDS:= \
|
|
|
|
+gluon-core \
|
|
|
|
+libgluonutil \
|
|
|
|
+gluon-client-bridge \
|
|
|
|
+gluon-ebtables \
|
|
|
|
+firewall \
|
|
|
|
+libiwinfo \
|
|
|
|
+kmod-dummy \
|
|
|
|
+libnl-tiny \
|
|
|
|
+libbatadv \
|
|
|
|
+batctl \
|
|
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_DUMMY \
|
|
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_CRC16 \
|
|
|
|
+@GLUON_SPECIALIZE_KERNEL:KERNEL_LIBCRC32C
|
2017-04-12 02:22:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-mesh-batman-adv-14
|
|
|
|
$(Package/gluon-mesh-batman-adv/common)
|
|
|
|
TITLE:=Support for batman-adv meshing (compat level 14)
|
|
|
|
CONFLICTS:=gluon-mesh-batman-adv-15
|
|
|
|
DEPENDS+=+kmod-batman-adv-legacy
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-mesh-batman-adv-15
|
|
|
|
$(Package/gluon-mesh-batman-adv/common)
|
|
|
|
TITLE:=Support for batman-adv meshing (compat level 15)
|
2019-02-18 17:34:38 +00:00
|
|
|
DEPENDS+=+kmod-batman-adv
|
2017-04-12 02:22:45 +00:00
|
|
|
endef
|
|
|
|
|
2018-03-08 18:49:41 +00:00
|
|
|
define Package/gluon-mesh-batman-adv-14/install
|
|
|
|
$(Gluon/Build/Install)
|
2017-04-12 02:22:45 +00:00
|
|
|
|
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon/mesh-batman-adv
|
|
|
|
echo 14 > $(1)/lib/gluon/mesh-batman-adv/compat
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-mesh-batman-adv-15/install
|
2018-03-08 18:49:41 +00:00
|
|
|
$(Gluon/Build/Install)
|
2017-04-12 02:22:45 +00:00
|
|
|
|
2018-03-08 18:49:41 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon/mesh-batman-adv
|
|
|
|
echo 15 > $(1)/lib/gluon/mesh-batman-adv/compat
|
2017-04-12 02:22:45 +00:00
|
|
|
endef
|
|
|
|
|
2018-03-08 18:49:41 +00:00
|
|
|
$(eval $(call BuildPackageGluon,gluon-mesh-batman-adv-14))
|
|
|
|
$(eval $(call BuildPackageGluon,gluon-mesh-batman-adv-15))
|