34ae90610e
Reworked existing patch to make it apply to this version Signed-off-by: Gilles Talis <gilles.talis@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
33 lines
957 B
Makefile
33 lines
957 B
Makefile
################################################################################
|
|
#
|
|
# iozone
|
|
#
|
|
################################################################################
|
|
|
|
IOZONE_VERSION = 3.492
|
|
IOZONE_SOURCE = iozone$(subst .,_,$(IOZONE_VERSION)).tgz
|
|
IOZONE_SITE = http://www.iozone.org/src/current
|
|
IOZONE_LICENSE = IOzone license (NO DERIVED WORKS ALLOWED)
|
|
# IOzone license details can be found at:
|
|
# http://www.iozone.org/docs/Iozone_License.txt
|
|
|
|
# AIO support not available on uClibc, use the linux (non-aio) target.
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
|
IOZONE_TARGET = linux-noaio
|
|
else
|
|
IOZONE_TARGET = linux
|
|
endif
|
|
|
|
define IOZONE_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) $(IOZONE_TARGET) -C $(@D)/src/current
|
|
endef
|
|
|
|
define IOZONE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 755 $(@D)/src/current/iozone \
|
|
$(TARGET_DIR)/usr/bin/iozone
|
|
$(INSTALL) -D -m 755 $(@D)/src/current/fileop \
|
|
$(TARGET_DIR)/usr/bin/fileop
|
|
endef
|
|
|
|
$(eval $(generic-package))
|