mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/fio: explicitly control libnfs dependency
The upstream uses pkg-config to detect and enable libnfs usage if it is found [1]. This can get confused by the host configuration so at the least we should disable detection if we are not planning to build with it. Note: the fio configure script accept both --enable-libnfs and --disable-libnfs since upstream commit [2], first included in fio v3.31. In Buildroot, this is supported since [3]. [1] https://github.com/axboe/fio/blob/fio-3.38/configure#L2360 [2]98ab12629c[3]256395d8e5Signed-off-by: Alex Bennée <alex.bennee@linaro.org> [Julien: add extra info in commit log] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
a79c862fa1
commit
fc690631ca
@@ -16,7 +16,10 @@ FIO_DEPENDENCIES += libaio
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBNFS),y)
|
ifeq ($(BR2_PACKAGE_LIBNFS),y)
|
||||||
FIO_DEPENDENCIES += libnfs
|
FIO_OPTS += --enable-libnfs
|
||||||
|
FIO_DEPENDENCIES += host-pkgconf libnfs
|
||||||
|
else
|
||||||
|
FIO_OPTS += --disable-libnfs
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBISCSI),y)
|
ifeq ($(BR2_PACKAGE_LIBISCSI),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user