1################################################################################ 2# 3# iozone 4# 5################################################################################ 6 7IOZONE_VERSION = 3.492 8IOZONE_SOURCE = iozone$(subst .,_,$(IOZONE_VERSION)).tgz 9IOZONE_SITE = http://www.iozone.org/src/current 10IOZONE_LICENSE = IOzone license (NO DERIVED WORKS ALLOWED) 11# IOzone license details can be found at: 12# http://www.iozone.org/docs/Iozone_License.txt 13 14# AIO support not available on uClibc, use the linux (non-aio) target. 15ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) 16IOZONE_TARGET = linux-noaio 17else 18IOZONE_TARGET = linux 19endif 20 21define IOZONE_BUILD_CMDS 22 $(MAKE) $(TARGET_CONFIGURE_OPTS) $(IOZONE_TARGET) -C $(@D)/src/current 23endef 24 25define IOZONE_INSTALL_TARGET_CMDS 26 $(INSTALL) -D -m 755 $(@D)/src/current/iozone \ 27 $(TARGET_DIR)/usr/bin/iozone 28 $(INSTALL) -D -m 755 $(@D)/src/current/fileop \ 29 $(TARGET_DIR)/usr/bin/fileop 30endef 31 32$(eval $(generic-package)) 33