openwrt/package
Tony Ambardar 1fadd7ddf7 bpftools: add utility and library packages supporting eBPF usage
Add support for building bpftool and libbpf from the latest 5.8.3 kernel
sources, ensuring up-to-date functionality and fixes. Both are written to
be backwards compatible, which simplfies build and usage across different
OpenWRT image kernels.

'bpftool' is the primary userspace tool widely used for introspection and
manipulation of eBPF programs and maps. Two variants are built: a 'full'
version which supports object disassembly and depends on libbfd/libopcodes
(total ~500KB); and a 'minimal' version without disassembly functions and
dependencies. The default 'minimal' variant is otherwise fully functional,
and both are compiled using LTO for further (~30KB) size reductions.

'libbpf' provides shared/static libraries and dev files needed for building
userspace programs that perform eBPF interaction.

Several cross-compilation and build-failure problems are addressed by new
patches and ones backported from farther upstream:

  * 001-libbpf-ensure-no-local-symbols-counted-in-ABI-check.patch
  * 002-libbpf-fix-build-failure-from-uninitialized-variable.patch
  * 003-bpftool-allow-passing-BPFTOOL_VERSION-to-make.patch
  * 004-v5.9-bpftool-use-only-ftw-for-file-tree-parsing.patch

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:06:55 +00:00
..
base-files build: switch VERSION_REPO to HTTPS 2021-09-01 08:06:55 +00:00
boot ar71xx: drop target 2021-09-01 08:06:54 +00:00
devel bintuils: Pack libctf-nobfd.so in addition 2021-09-01 08:06:49 +00:00
firmware treewide: https for downloads.openwrt.org sources 2021-09-01 08:06:55 +00:00
kernel treewide: https for downloads.openwrt.org sources 2021-09-01 08:06:55 +00:00
libs wolfssl: add certgen config option 2021-09-01 08:06:55 +00:00
network bpftools: add utility and library packages supporting eBPF usage 2021-09-01 08:06:55 +00:00
system opkg: update to git HEAD 2021-09-01 08:06:55 +00:00
utils busybox: Use PKG_FILE_MODES for SUID 2021-09-01 08:06:55 +00:00
Makefile build: store SourceDateEpoch in manifest 2021-09-01 08:06:55 +00:00