Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=fritz-tools
  3. PKG_RELEASE:=1
  4. CMAKE_INSTALL:=1
  5. include $(INCLUDE_DIR)/package.mk
  6. include $(INCLUDE_DIR)/cmake.mk
  7. define Package/fritz-tools/Default
  8. SECTION:=utils
  9. CATEGORY:=Utilities
  10. endef
  11. define Package/fritz-tffs
  12. $(call Package/fritz-tools/Default)
  13. TITLE:=Utility to partially read the TFFS filesystems
  14. endef
  15. define Package/fritz-tffs/description
  16. Utility to partially read the TFFS filesystems.
  17. endef
  18. define Package/fritz-caldata
  19. $(call Package/fritz-tools/Default)
  20. DEPENDS:=+zlib
  21. TITLE:=Utility to extract WLAN calibration data
  22. endef
  23. define Package/fritz-caldata/description
  24. Utility to extract the zlib compress calibration data from flash.
  25. endef
  26. define Package/fritz-tffs/install
  27. $(INSTALL_DIR) $(1)/usr/bin
  28. $(INSTALL_BIN) $(PKG_BUILD_DIR)/fritz_tffs_read $(1)/usr/bin/fritz_tffs
  29. endef
  30. define Package/fritz-caldata/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/fritz_cal_extract $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,fritz-tffs))
  35. $(eval $(call BuildPackage,fritz-caldata))