1config BR2_PACKAGE_FLUENT_BIT 2 bool "fluent-bit" 3 depends on BR2_TOOLCHAIN_HAS_THREADS 4 depends on BR2_TOOLCHAIN_HAS_SYNC_4 5 depends on !BR2_STATIC_LIBS # dlfcn.h 6 select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC 7 select BR2_PACKAGE_OPENSSL 8 select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL 9 select BR2_PACKAGE_LIBYAML 10 help 11 Fast and Lightweight Logs and Metrics processor. 12 13 https://github.com/fluent/fluent-bit 14 15if BR2_PACKAGE_FLUENT_BIT 16 17config BR2_PACKAGE_FLUENT_BIT_WASM_ARCH 18 string 19 default "AARCH64" if BR2_aarch64 || BR2_aarch64_be 20 default "ARC" if BR2_arcle || BR2_arceb 21 default "ARM" if BR2_arm || BR2_armeb 22 default "MIPS" if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el 23 default "RISCV32" if BR2_riscv && BR2_RISCV_32 24 default "RISCV64" if BR2_riscv && BR2_RISCV_64 25 default "X86_32" if BR2_i386 26 default "X86_64" if BR2_x86_64 27 default "XTENSA" if BR2_xtensa 28 29config BR2_PACKAGE_FLUENT_BIT_WASM_ARCH_SUPPORTS 30 bool 31 default y if BR2_PACKAGE_FLUENT_BIT_WASM_ARCH != "" 32 33config BR2_PACKAGE_FLUENT_BIT_WASM 34 bool "wasm runtime support" 35 depends on BR2_INSTALL_LIBSTDCPP 36 depends on BR2_PACKAGE_FLUENT_BIT_WASM_ARCH_SUPPORTS 37 help 38 Support for WASM-based plugins. 39 40comment "wasm runtime support needs a toolchain w/ C++" 41 depends on BR2_PACKAGE_FLUENT_BIT_WASM_ARCH_SUPPORTS 42 depends on !BR2_INSTALL_LIBSTDCPP 43 44endif 45 46comment "fluent-bit needs a toolchain w/ threads, dynamic library" 47 depends on BR2_TOOLCHAIN_HAS_SYNC_4 48 depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS 49