| Summary: | Make sure fio can compile with libaio support if it the package is installed | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Charles <ckhardin> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
Thanks, looks good. Could you submit this as a proper patch on our mailing list, so that we can merge it through the usual process? Thanks! Fixed by https://git.buildroot.net/buildroot/commit/?id=71122f537d2ff93f206818c8d91e06f55fe2b5e2, thanks for your suggestion! |
if libaio is being used, then make fio depend on it so that it gets compiled with aio support. diff --git a/package/fio/fio.mk b/package/fio/fio.mk index 08fef5f..384be2e 100644 --- a/package/fio/fio.mk +++ b/package/fio/fio.mk @@ -9,6 +9,10 @@ FIO_SITE = git://git.kernel.dk/fio.git FIO_LICENSE = GPLv2 + special obligations FIO_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBAIO),y) +FIO_DEPENDENCIES += libaio +endif + define FIO_CONFIGURE_CMDS (cd $(@D); ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)") endef