| config BR2_PACKAGE_FLUENT_BIT |
| bool "fluent-bit" |
| depends on BR2_TOOLCHAIN_HAS_THREADS |
| depends on BR2_TOOLCHAIN_HAS_SYNC_4 |
| depends on !BR2_STATIC_LIBS # dlfcn.h |
| select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC |
| select BR2_PACKAGE_OPENSSL |
| select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL |
| select BR2_PACKAGE_LIBYAML |
| help |
| Fast and Lightweight Logs and Metrics processor. |
| |
| https://github.com/fluent/fluent-bit |
| |
| if BR2_PACKAGE_FLUENT_BIT |
| |
| config BR2_PACKAGE_FLUENT_BIT_WASM_ARCH |
| string |
| default "AARCH64" if BR2_aarch64 || BR2_aarch64_be |
| default "ARC" if BR2_arcle || BR2_arceb |
| default "ARM" if BR2_arm || BR2_armeb |
| default "MIPS" if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el |
| default "RISCV32" if BR2_riscv && BR2_RISCV_32 |
| default "RISCV64" if BR2_riscv && BR2_RISCV_64 |
| default "X86_32" if BR2_i386 |
| default "X86_64" if BR2_x86_64 |
| default "XTENSA" if BR2_xtensa |
| |
| config BR2_PACKAGE_FLUENT_BIT_WASM_ARCH_SUPPORTS |
| bool |
| default y if BR2_PACKAGE_FLUENT_BIT_WASM_ARCH != "" |
| |
| config BR2_PACKAGE_FLUENT_BIT_WASM |
| bool "wasm runtime support" |
| depends on BR2_INSTALL_LIBSTDCPP |
| depends on BR2_PACKAGE_FLUENT_BIT_WASM_ARCH_SUPPORTS |
| help |
| Support for WASM-based plugins. |
| |
| comment "wasm runtime support needs a toolchain w/ C++" |
| depends on BR2_PACKAGE_FLUENT_BIT_WASM_ARCH_SUPPORTS |
| depends on !BR2_INSTALL_LIBSTDCPP |
| |
| endif |
| |
| comment "fluent-bit needs a toolchain w/ threads, dynamic library" |
| depends on BR2_TOOLCHAIN_HAS_SYNC_4 |
| depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS |