bpftools: support NLS, fix ppc build and update to 5.8.9
authorTony Ambardar <itugrok@yahoo.com>
Sun, 30 Aug 2020 22:54:51 +0000 (15:54 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 18 Sep 2020 19:42:05 +0000 (21:42 +0200)
commit5582fbd6135f7db4ba8bd887c360007f3b18dba1
tree49576d6af50edd835b974a74f1c80a5c07ea0d9b
parente826e007658911df91385935e74621889abbda24
bpftools: support NLS, fix ppc build and update to 5.8.9

With global NLS support enabled (CONFIG_BUILD_NLS), the linked libelf.so
and libbfd.so libraries will depend on libintl.so. Import the nls.mk helper
to set library prefixes and flags accordingly, and also conditionally add
"-lintl" as link-time library.

Fix a build error on ppc due to a EDEADLOCK redefinition in errno.h.

Use upstream stable kernel 5.8.9, and fix overriding of feature detection
to only allow/hide detected features. Also refresh existing patches.

Fixes: 2f0d672088 ("bpftools: add utility and library packages supporting
eBPF usage")

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
package/network/utils/bpftools/Makefile
package/network/utils/bpftools/patches/001-libbpf-ensure-no-local-symbols-counted-in-ABI-check.patch
package/network/utils/bpftools/patches/002-libbpf-fix-build-failure-from-uninitialized-variable.patch
package/network/utils/bpftools/patches/003-bpftool-allow-passing-BPFTOOL_VERSION-to-make.patch
package/network/utils/bpftools/patches/004-v5.9-bpftool-use-only-ftw-for-file-tree-parsing.patch
package/network/utils/bpftools/patches/005-tools-arch-powerpc-fix-EDEADLOCK-redefinition-errors.patch [new file with mode: 0644]