buildroot/package/latencytop/latencytop.mk
Gustavo Zacarias 9fc51ef91b latencytop: use $(TARGET_CONFIGURE_OPTS) 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-22 15:19:24 +02:00

24 lines
705 B
Makefile

################################################################################
#
# latencytop
#
################################################################################
LATENCYTOP_VERSION = 0.5
LATENCYTOP_SITE = http://www.latencytop.org/download
LATENCYTOP_DEPENDENCIES = libglib2 ncurses
LATENCYTOP_LICENSE = GPLv2
LATENCYTOP_LICENSE_FILES = latencytop.c
# NOTE: GTK is heavy weight, we intentionally build the text (ncurses)
# version only
define LATENCYTOP_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) HAS_GTK_GUI=
endef
define LATENCYTOP_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR) HAS_GTK_GUI=
endef
$(eval $(generic-package))