2013-07-20 14:52:19 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# tstools
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-10-20 15:06:14 +02:00
|
|
|
# No releases or tags yet. Use the latest commit ID from master branch.
|
|
|
|
TSTOOLS_VERSION = 08f6be304040e7b84760ac3920bcff4a563b6cd2
|
|
|
|
TSTOOLS_SITE = $(call github,kynesim,tstools,$(TSTOOLS_VERSION))
|
|
|
|
# tstools upstream doesn't contain any license file so far. See:
|
|
|
|
# https://github.com/kynesim/tstools/issues/32
|
|
|
|
TSTOOLS_LICENSE = MPLv1.1
|
|
|
|
TSTOOLS_LICENSE_FILES =
|
2013-07-20 14:52:19 +02:00
|
|
|
|
|
|
|
define TSTOOLS_BUILD_CMDS
|
2013-11-12 23:12:33 +01:00
|
|
|
$(TARGET_CONFIGURE_OPTS) LD="$(TARGET_CC)" $(TARGET_MAKE_ENV) \
|
2014-11-17 14:13:39 +01:00
|
|
|
$(MAKE1) -C $(@D)
|
2013-07-20 14:52:19 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define TSTOOLS_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
|
|
DESTDIR=$(TARGET_DIR) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|