Skip to contentSkip to conversation

fio: pass pkgconf args to configure script

PATCH New Gyorgy Sarvari 1 participant 1 message Mar 12, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fio: pass pkgconf args to configure script

This application uses a custom configure script, which is called explicitly from a do_configure task. This however means that the recipe needs to take care of passing the dynamic arguments based on the PACKAGECONFIG values.

Pass the value of PACKAGECONFIG_CONFARGS to the configure script to ensure that the PACKAGECONFIG changes take effect.

---
 meta-oe/recipes-benchmark/fio/fio_3.39.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-benchmark/fio/fio_3.39.bb +1 -1
index 473408e9b8..91bd23e50e 100644
@@ -36,7 +36,7 @@ EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}'"
 EXTRA_OECONF = "${@bb.utils.contains('MACHINE_FEATURES', 'x86', '--disable-optimizations', '', d)}"
 
 do_configure() {
-    ./configure ${EXTRA_OECONF}
+    ./configure ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS}
 }
 
 do_install() {