1
0

Makefile 684 B

12345678910111213141516171819202122232425262728
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=jboot-tools
  3. PKG_RELEASE:=1
  4. CMAKE_INSTALL:=1
  5. PKG_FLAGS:=nonshared
  6. include $(INCLUDE_DIR)/package.mk
  7. include $(INCLUDE_DIR)/cmake.mk
  8. define Package/jboot-tools
  9. SECTION:=firmware
  10. CATEGORY:=Firmware
  11. DEPENDS:=@TARGET_ramips
  12. TITLE:=Utilites for accessing JBOOT based D-Link devices Calibration data
  13. endef
  14. define Package/jboot-tools/description
  15. This package contains:
  16. jboot_config_read.c: partially read the config partition of JBOOT based D-Link devices.
  17. endef
  18. define Package/jboot-tools/install
  19. $(INSTALL_DIR) $(1)/usr/bin
  20. $(INSTALL_BIN) $(PKG_BUILD_DIR)/jboot_config_read $(1)/usr/bin/
  21. endef
  22. $(eval $(call BuildPackage,jboot-tools))