initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_FIO
|
||||
bool "fio"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
|
||||
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, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_nios2
|
||||
depends on BR2_USE_MMU
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 859dca5241e5494d86c4aa1531a984cc556789c78e56b30d6070acfbdd193a8c fio-3.28.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 8a240c1ad13d1fe3e58588643d81d0695899be4a669fe6d8fafa76ca6a89db2c MORAL-LICENSE
|
||||
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# fio
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FIO_VERSION = 3.28
|
||||
FIO_SITE = http://brick.kernel.dk/snaps
|
||||
FIO_LICENSE = GPL-2.0
|
||||
FIO_LICENSE_FILES = COPYING MORAL-LICENSE
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBAIO),y)
|
||||
FIO_DEPENDENCIES += libaio
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBNFS),y)
|
||||
FIO_DEPENDENCIES += libnfs
|
||||
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))
|
||||
Reference in New Issue
Block a user