2013-10-30 16:22:25 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# fio
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-03-10 15:32:25 +01:00
|
|
|
FIO_VERSION = fio-2.7
|
2013-10-30 16:22:25 +01:00
|
|
|
FIO_SITE = git://git.kernel.dk/fio.git
|
|
|
|
FIO_LICENSE = GPLv2 + special obligations
|
2016-01-30 11:30:54 +01:00
|
|
|
FIO_LICENSE_FILES = COPYING
|
2013-10-30 16:22:25 +01:00
|
|
|
|
2016-04-19 23:38:41 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBAIO),y)
|
|
|
|
FIO_DEPENDENCIES += libaio
|
|
|
|
endif
|
|
|
|
|
2013-10-30 16:22:25 +01:00
|
|
|
define FIO_CONFIGURE_CMDS
|
|
|
|
(cd $(@D); ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)")
|
|
|
|
endef
|
|
|
|
|
|
|
|
define FIO_BUILD_CMDS
|
|
|
|
$(MAKE) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define FIO_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D $(@D)/fio $(TARGET_DIR)/usr/bin/fio
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|