Makefile 663 B

123456789101112131415161718192021222324252627282930313233
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=vxlan
  3. PKG_VERSION:=2
  4. PKG_LICENSE:=GPL-2.0
  5. include $(INCLUDE_DIR)/package.mk
  6. define Package/vxlan
  7. SECTION:=net
  8. CATEGORY:=Network
  9. MAINTAINER:=Matthias Schiffer <mschiffer@universe-factory.net>
  10. TITLE:=Virtual eXtensible LAN config support
  11. DEPENDS:=+kmod-vxlan
  12. PKGARCH:=all
  13. endef
  14. define Package/vxlan/description
  15. Virtual eXtensible LAN config support in /etc/config/network.
  16. endef
  17. define Build/Compile
  18. endef
  19. define Build/Configure
  20. endef
  21. define Package/vxlan/install
  22. $(INSTALL_DIR) $(1)/lib/netifd/proto
  23. $(INSTALL_BIN) ./files/vxlan.sh $(1)/lib/netifd/proto/vxlan.sh
  24. endef
  25. $(eval $(call BuildPackage,vxlan))