c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
614 B
Makefile
23 lines
614 B
Makefile
################################################################################
|
|
#
|
|
# tstools
|
|
#
|
|
################################################################################
|
|
|
|
TSTOOLS_VERSION = 1_11
|
|
TSTOOLS_SITE = https://tstools.googlecode.com/files
|
|
TSTOOLS_SOURCE = tstools-$(TSTOOLS_VERSION).tgz
|
|
TSTOOLS_LICENSE = MPL v1.1
|
|
|
|
define TSTOOLS_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) LD="$(TARGET_CC)" $(TARGET_MAKE_ENV) \
|
|
$(MAKE) -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))
|