2005-09-30 22:41:41 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# iostat
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2010-07-22 17:50:54 +02:00
|
|
|
IOSTAT_VERSION = 2.2
|
|
|
|
IOSTAT_SITE = http://www.linuxinsight.com/files
|
2005-09-30 22:41:41 +02:00
|
|
|
|
|
|
|
iostat-source: $(DL_DIR)/$(IOSTAT_SOURCE)
|
|
|
|
|
2010-07-22 17:50:54 +02:00
|
|
|
define IOSTAT_BUILD_CMDS
|
|
|
|
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)"
|
|
|
|
endef
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2010-07-22 17:50:54 +02:00
|
|
|
define IOSTAT_CLEAN_CMDS
|
|
|
|
$(MAKE) -C $(@D) clean
|
|
|
|
endef
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2010-07-22 17:50:54 +02:00
|
|
|
define IOSTAT_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D $(IOSTAT_DIR)/iostat $(TARGET_DIR)/usr/bin/iostat
|
|
|
|
$(INSTALL) -D $(IOSTAT_DIR)/iostat.8 \
|
|
|
|
$(TARGET_DIR)/usr/share/man/man8/iostat.8
|
|
|
|
endef
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2010-07-22 17:50:54 +02:00
|
|
|
define IOSTAT_UNINSTALL_TARGET_CMDS
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/iostat
|
|
|
|
rm -f $(TARGET_DIR)/usr/share/man/man8/iostat.8
|
|
|
|
endef
|
2005-09-30 22:41:41 +02:00
|
|
|
|
2011-09-29 21:57:42 +02:00
|
|
|
$(eval $(call GENTARGETS))
|