tstools.mk 819 B

12345678910111213141516171819202122232425
  1. ################################################################################
  2. #
  3. # tstools
  4. #
  5. ################################################################################
  6. # No releases or tags yet. Use the latest commit ID from master branch.
  7. TSTOOLS_VERSION = 08f6be304040e7b84760ac3920bcff4a563b6cd2
  8. TSTOOLS_SITE = $(call github,kynesim,tstools,$(TSTOOLS_VERSION))
  9. # tstools upstream doesn't contain any license file so far. See:
  10. # https://github.com/kynesim/tstools/issues/32
  11. TSTOOLS_LICENSE = MPL-1.1
  12. TSTOOLS_LICENSE_FILES =
  13. define TSTOOLS_BUILD_CMDS
  14. $(TARGET_CONFIGURE_OPTS) LD="$(TARGET_CC)" $(TARGET_MAKE_ENV) \
  15. $(MAKE1) -C $(@D)
  16. endef
  17. define TSTOOLS_INSTALL_TARGET_CMDS
  18. $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
  19. DESTDIR=$(TARGET_DIR) install
  20. endef
  21. $(eval $(generic-package))