![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for MPLv1.0/MPLv1.1/MPLv2.0 is MPL-1.0/MPL-1.1/ MPL-2.0. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/MPLv([1-2]\.[0-1])/MPL-\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.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 = MPL-1.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))
|