kumquat-buildroot/package/statserial/statserial.mk
Gustavo Zacarias 4367efc875 statserial: 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:17:11 +02:00

22 lines
676 B
Makefile

################################################################################
#
# statserial
#
################################################################################
STATSERIAL_VERSION = 1.1
STATSERIAL_SITE = http://www.ibiblio.org/pub/Linux/system/serial
STATSERIAL_DEPENDENCIES = ncurses
STATSERIAL_LICENSE = GPLv2+
STATSERIAL_LICENSE_FILES = COPYING
define STATSERIAL_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
endef
define STATSERIAL_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/statserial $(TARGET_DIR)/usr/bin/statserial
endef
$(eval $(generic-package))