iproute2: support eBFP/XDP object file loading, simplify linking libelf
authorTony Ambardar <itugrok@yahoo.com>
Sun, 16 Dec 2018 02:26:48 +0000 (18:26 -0800)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 14 Mar 2019 21:54:50 +0000 (22:54 +0100)
commitf61359e16ef911a8fc01e7028942d9cad0bd8a96
tree5b057ce88b83adeaf85823598f99877798d2bc5b
parent127d38f219962e070483cfeeb9df4811a9df076e
iproute2: support eBFP/XDP object file loading, simplify linking libelf

Add build and runtime dependencies on libelf, allowing tc and ip-full
to load BPF and XDP object files respectively.

Define package 'tc' as a singleton package variant, which can be used to
enable additional functionality limited only to tc. Also set ip-tiny
as the default 'ip' variant.

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]