From: Maksim Kiselev <bigunclemax@gmail.com>
To: buildroot@buildroot.org
Cc: Maksim Kiselev <bigunclemax@gmail.com>,
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Subject: [Buildroot] [PATCH v1 2/2] package/fio: add optional libiscsi dependency
Date: Tue, 16 May 2023 11:23:40 +0300 [thread overview]
Message-ID: <20230516082340.1375834-2-bigunclemax@gmail.com> (raw)
In-Reply-To: <20230516082340.1375834-1-bigunclemax@gmail.com>
Since commit 247ef2a fio has optional libiscsi engine support
This patch enables fio iscsi support if BR2_PACKAGE_LIBISCSI
was selected
Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
---
package/fio/fio.mk | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/package/fio/fio.mk b/package/fio/fio.mk
index 90ec407207..45092a0d80 100644
--- a/package/fio/fio.mk
+++ b/package/fio/fio.mk
@@ -9,6 +9,8 @@ FIO_SITE = http://brick.kernel.dk/snaps
FIO_LICENSE = GPL-2.0
FIO_LICENSE_FILES = COPYING MORAL-LICENSE
+FIO_OPTS = --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)"
+
ifeq ($(BR2_PACKAGE_LIBAIO),y)
FIO_DEPENDENCIES += libaio
endif
@@ -17,6 +19,11 @@ ifeq ($(BR2_PACKAGE_LIBNFS),y)
FIO_DEPENDENCIES += libnfs
endif
+ifeq ($(BR2_PACKAGE_LIBISCSI),y)
+FIO_OPTS += --enable-libiscsi
+FIO_DEPENDENCIES += libiscsi
+endif
+
ifeq ($(BR2_PACKAGE_NUMACTL),y)
FIO_DEPENDENCIES += numactl
endif
@@ -26,7 +33,7 @@ FIO_DEPENDENCIES += zlib
endif
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
define FIO_BUILD_CMDS
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-05-16 8:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-16 8:23 [Buildroot] [PATCH v1 1/2] package/fio: bump to version 3.34 Maksim Kiselev
2023-05-16 8:23 ` Maksim Kiselev [this message]
2023-07-29 11:57 ` [Buildroot] [PATCH v1 2/2] package/fio: add optional libiscsi dependency Thomas Petazzoni via buildroot
2023-07-29 11:57 ` [Buildroot] [PATCH v1 1/2] package/fio: bump to version 3.34 Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230516082340.1375834-2-bigunclemax@gmail.com \
--to=bigunclemax@gmail.com \
--cc=buildroot@buildroot.org \
--cc=ezequiel@vanguardiasur.com.ar \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.