mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
package/fio: add optional libiscsi dependency
Since commit 247ef2a fio has optional libiscsi engine support This patch enables fio iscsi support if BR2_PACKAGE_LIBISCSI was selected, which also requires pkg-config as it is used by the configure script to detect libiscsi. There is no --disable-libscsi option in the configure script: if --enable-libiscsi is not passed, it doesn't even try to detect/use libiscsi. Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
256395d8e5
commit
4bcbf467c3
@@ -9,6 +9,8 @@ FIO_SITE = http://brick.kernel.dk/snaps
|
|||||||
FIO_LICENSE = GPL-2.0
|
FIO_LICENSE = GPL-2.0
|
||||||
FIO_LICENSE_FILES = COPYING MORAL-LICENSE
|
FIO_LICENSE_FILES = COPYING MORAL-LICENSE
|
||||||
|
|
||||||
|
FIO_OPTS = --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)"
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBAIO),y)
|
ifeq ($(BR2_PACKAGE_LIBAIO),y)
|
||||||
FIO_DEPENDENCIES += libaio
|
FIO_DEPENDENCIES += libaio
|
||||||
endif
|
endif
|
||||||
@@ -17,6 +19,11 @@ ifeq ($(BR2_PACKAGE_LIBNFS),y)
|
|||||||
FIO_DEPENDENCIES += libnfs
|
FIO_DEPENDENCIES += libnfs
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBISCSI),y)
|
||||||
|
FIO_OPTS += --enable-libiscsi
|
||||||
|
FIO_DEPENDENCIES += host-pkgconf libiscsi
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_NUMACTL),y)
|
ifeq ($(BR2_PACKAGE_NUMACTL),y)
|
||||||
FIO_DEPENDENCIES += numactl
|
FIO_DEPENDENCIES += numactl
|
||||||
endif
|
endif
|
||||||
@@ -26,7 +33,7 @@ FIO_DEPENDENCIES += zlib
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define FIO_CONFIGURE_CMDS
|
define FIO_CONFIGURE_CMDS
|
||||||
(cd $(@D); $(TARGET_MAKE_ENV) ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)")
|
(cd $(@D); $(TARGET_MAKE_ENV) ./configure $(FIO_OPTS))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define FIO_BUILD_CMDS
|
define FIO_BUILD_CMDS
|
||||||
|
|||||||
Reference in New Issue
Block a user