kumquat-buildroot/package/tcping/tcping.mk
Gustavo Zacarias e1ff79a78c tcping: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-15 14:16:58 +02:00

22 lines
580 B
Makefile

################################################################################
#
# tcping
#
################################################################################
TCPING_VERSION = 1.3.5
TCPING_SITE = http://www.linuxco.de/tcping
TCPING_LICENSE = GPLv3+
TCPING_LICENSE_FILES = LICENSE
define TCPING_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CCFLAGS="$(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
-C $(@D) tcping.linux
endef
define TCPING_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/tcping $(TARGET_DIR)/usr/bin/tcping
endef
$(eval $(generic-package))