1config BR2_PACKAGE_LIBBPF 2 bool "libbpf" 3 depends on BR2_TOOLCHAIN_HAS_SYNC_4 4 depends on BR2_USE_WCHAR # elfutils 5 depends on !BR2_STATIC_LIBS # elfutils 6 depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils 7 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 8 select BR2_PACKAGE_ELFUTILS 9 select BR2_PACKAGE_ZLIB 10 help 11 libbpf library. 12 A mirror of bpf-next linux tree bpf-next/tools/lib/bpf 13 directory plus its supporting header files. The version 14 of the package reflects the version of ABI. 15 16 https://github.com/libbpf/libbpf 17 18comment "libbpf needs a toolchain w/ wchar, dynamic library, threads, headers >= 4.13" 19 depends on BR2_TOOLCHAIN_HAS_SYNC_4 20 depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ 21 || !BR2_TOOLCHAIN_HAS_THREADS \ 22 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 23