1fe8806dbb
This will fix the following build failure with kernel >= 5.14 thanks to
382975557e
:
In file included from crc/../os/os.h:39,
from crc/crc32c-arm64.c:2:
crc/../os/os-linux.h:17:10: fatal error: linux/raw.h: No such file or directory
17 | #include <linux/raw.h>
| ^~~~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/d85c044263c76ff7ef0fe47921d893a472954da9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
41 lines
868 B
Makefile
41 lines
868 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|