![Ezequiel Garcia](/assets/img/avatar_default.png)
[Thomas: add largefile and thread dependencies, bump to version 2.1.4, use upstream Git instead of Debian tarballs, adjust license information] Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
582 B
Makefile
25 lines
582 B
Makefile
################################################################################
|
|
#
|
|
# fio
|
|
#
|
|
################################################################################
|
|
|
|
FIO_VERSION = fio-2.1.4
|
|
FIO_SITE = git://git.kernel.dk/fio.git
|
|
FIO_LICENSE = GPLv2 + special obligations
|
|
FIO_LICENSE_FILES = LICENSE
|
|
|
|
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))
|