2c9aceea90
tstools has migrated to GitHub, so let's use this opportuninty to rework this package as well. - Change site to GitHub. - No releases of tags yet, so let's use the latest commit ID from the master branch as a version. - There is currently no license file attributed to tstools, so state that in the tstools.mk file and add empty license file variable. This issue is being tracked upstream: https://github.com/kynesim/tstools/issues/32 - Wrap the help text in the Config.in to 72 characters, and also change the project URL to the GitHub one. - Add a hash file. - Rename the patch to use a four digit numbering (001 -> 0001). [Peter: leave license as MPLv1.1, adjust comment to match] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
819 B
Makefile
26 lines
819 B
Makefile
################################################################################
|
|
#
|
|
# tstools
|
|
#
|
|
################################################################################
|
|
|
|
# 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 =
|
|
|
|
define TSTOOLS_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) LD="$(TARGET_CC)" $(TARGET_MAKE_ENV) \
|
|
$(MAKE1) -C $(@D)
|
|
endef
|
|
|
|
define TSTOOLS_INSTALL_TARGET_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|