Makefile 752 B

12345678910111213141516171819202122232425262728293031323334353637
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-radvd
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1.$(GLUON_CONFIG_VERSION)
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/gluon-radvd
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Advertise an IPv6 prefix from the node
  11. DEPENDS:=+gluon-core +gluon-ebtables +gluon-next-node +radvd
  12. endef
  13. define Package/gluon-radvd/description
  14. Gluon community wifi mesh firmware framework: Advertise an IPv6 prefix from the node
  15. endef
  16. define Build/Prepare
  17. mkdir -p $(PKG_BUILD_DIR)
  18. endef
  19. define Build/Configure
  20. endef
  21. define Build/Compile
  22. endef
  23. define Package/gluon-radvd/install
  24. $(CP) ./files/* $(1)/
  25. $(GLUON_GENERATE) ./generate/* $(1)/
  26. endef
  27. $(eval $(call BuildPackage,gluon-radvd))