![Bernd Kuhls](/assets/img/avatar_default.png)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
563 B
Makefile
22 lines
563 B
Makefile
################################################################################
|
|
#
|
|
# iostat
|
|
#
|
|
################################################################################
|
|
|
|
IOSTAT_VERSION = 2.2
|
|
IOSTAT_SITE = http://linuxinsight.com/sites/default/files
|
|
IOSTAT_LICENSE = GPL
|
|
IOSTAT_LICENSE_FILES = LICENSE
|
|
|
|
define IOSTAT_BUILD_CMDS
|
|
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
|
CFLAGS="$(TARGET_CFLAGS) -DHZ=100"
|
|
endef
|
|
|
|
define IOSTAT_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(IOSTAT_DIR)/iostat $(TARGET_DIR)/usr/bin/iostat
|
|
endef
|
|
|
|
$(eval $(generic-package))
|