Makefile 655 B

123456789101112131415161718192021222324252627282930313233343536
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffpb-v6uplink
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/ffpb-v6uplink
  8. SECTION:=ffpb
  9. CATEGORY:=ffpb
  10. TITLE:=FFPB-IPv6-Uplink
  11. DEPENDS:=+odhcp6c
  12. endef
  13. define Package/ffpb-v6uplink/description
  14. Give gluon-nodes an ipv6 uplink
  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/ffpb-v6uplink/install
  24. $(CP) ./files/* $(1)/
  25. endef
  26. $(eval $(call BuildPackage,ffpb-v6uplink))