7a7ec2dd37
Fixes http://autobuild.buildroot.net/results/c45/c45bbdaff6cff56b5646add38032f29bb5520f16 Using ld directly breaks with certain toolchain configurations. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
23 lines
615 B
Makefile
23 lines
615 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))
|