Add buildroot 2018-02

This commit is contained in:
Pascal Vizeli
2018-03-17 23:47:00 +00:00
parent 3776c47f83
commit 67742041ad
10007 changed files with 405098 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_FIO
bool "fio"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_TOOLCHAIN_HAS_THREADS
# fio uses fallocate() which becomes fallocate64() while compiling with
# largefile support, but fallocate64() is not available on nios2
depends on !BR2_nios2
help
fio is an I/O tool meant to be used both for benchmark
and stress/hardware verification.
http://git.kernel.dk/?p=fio.git;a=summary
comment "fio needs a toolchain w/ dynamic library, threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_nios2
depends on BR2_USE_MMU

View File

@@ -0,0 +1,2 @@
# Locally computed
sha256 1952db4d534221e6e8454f851dfcc38328b0ed4a3f499ea25a51ca2b5ccc8136 fio-fio-2.20.tar.gz

View File

@@ -0,0 +1,36 @@
################################################################################
#
# fio
#
################################################################################
FIO_VERSION = fio-2.20
FIO_SITE = git://git.kernel.dk/fio.git
FIO_LICENSE = GPL-2.0 + special obligations
FIO_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LIBAIO),y)
FIO_DEPENDENCIES += libaio
endif
ifeq ($(BR2_PACKAGE_NUMACTL),y)
FIO_DEPENDENCIES += numactl
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
FIO_DEPENDENCIES += zlib
endif
define FIO_CONFIGURE_CMDS
(cd $(@D); $(TARGET_MAKE_ENV) ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)")
endef
define FIO_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
define FIO_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/fio $(TARGET_DIR)/usr/bin/fio
endef
$(eval $(generic-package))