3675131e6c
Move the target bpftool build out of linux-tools so that it is up to date. This also fixes build issues due to differences between kernel versions. The latest version should be fully backwards compatible. The host bpftool is needed for enabling features such as the systemd bpf-framework (to be added in a future patch). Use the git download method to get the libbpf submodule. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
19 lines
703 B
Plaintext
19 lines
703 B
Plaintext
config BR2_PACKAGE_BPFTOOL
|
|
bool "bpftool"
|
|
depends on !BR2_nios2 # binutils
|
|
depends on BR2_USE_WCHAR # binutils, elfutils
|
|
depends on !BR2_STATIC_LIBS # elfutils
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
|
|
select BR2_PACKAGE_BINUTILS
|
|
select BR2_PACKAGE_ELFUTILS
|
|
help
|
|
bpftool is a tool for for inspection and simple manipulation
|
|
of eBPF programs and maps.
|
|
|
|
comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
|
|
depends on !BR2_nios2
|
|
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|
|
|| !BR2_TOOLCHAIN_HAS_THREADS \
|
|
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|