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