Makefile 636 B

123456789101112131415161718192021222324252627282930313233343536
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-node-info
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/gluon-node-info
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Add /etc/config/gluon-node-info to uci
  11. DEPENDS:=+gluon-core
  12. endef
  13. define Package/gluon-node-info/description
  14. This packages creates /etc/config/gluon-node-info.
  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-node-info/install
  24. $(CP) ./files/* $(1)/
  25. endef
  26. $(eval $(call BuildPackage,gluon-node-info))