iproute2: simplify linking libelf for eBFP/XDP object file support
authorTony Ambardar <itugrok@yahoo.com>
Sat, 24 Nov 2018 00:33:45 +0000 (16:33 -0800)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Mon, 11 Feb 2019 20:18:48 +0000 (20:18 +0000)
commit26681fa6a6fcbec0024906eb8367e9a3160521fb
tree7ebfc2e9277b130eb54a4eff60cd6b5b6b3d4385
parente6d84fa8864e7bbbcec139dd09a2922a06f5b2a0
iproute2: simplify linking libelf for eBFP/XDP object file support

Simplify build and runtime dependencies on libelf, which allows tc and ip
to load BPF and XDP object files respectively.

Preserve optionality of libelf by having configuration script follow the
HAVE_ELF environment variable, used similarly to the HAVE_MNL variable.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
package/network/utils/iproute2/Makefile
package/network/utils/iproute2/patches/145-keep_libelf_optional.patch [new file with mode: 0644]
package/network/utils/iproute2/patches/190-link-libelf-to-tc-only.patch [deleted file]