diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2021-03-01 17:14:50 -0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-04-10 14:22:28 +0200 |
commit | 3e9d639e8f8245e5acec707cfbef8788c8850d1b (patch) | |
tree | b2c18233bfb533fcd65810f08db4aa34fd0e7ab2 /toolchain/glibc | |
parent | 0d5e308664ee2ee449e19d10d19427a4ea0dae4b (diff) | |
download | upstream-3e9d639e8f8245e5acec707cfbef8788c8850d1b.tar.gz upstream-3e9d639e8f8245e5acec707cfbef8788c8850d1b.tar.bz2 upstream-3e9d639e8f8245e5acec707cfbef8788c8850d1b.zip |
iproute2: separate tc into tiny and full variants
This change was investigated previously [1] but not deemed necessary. With
the recent addition [2] of modern BPF loader support, however, tc gained
dependencies on libelf and libbpf, with a larger installation footprint.
Similar to ip-tiny/ip-full, split tc into tc-full and tc-tiny variants,
where the latter excludes the eBPF loader, uses a smaller executable, and
avoids libelf and libbpf package dependencies. Both variants provide the
'tc' virtual package, with tc-tiny as the default.
The previous tc package included a loadable module for iptables actions.
Separate this out into a common package, tc-mod-iptables, which both
variants depend on. Some package sizes on mips_24kc:
Before:
148343 tc_5.11.0-1_mips_24kc.ipk
After:
144833 tc-full_5.11.0-2_mips_24kc.ipk
138430 tc-tiny_5.11.0-2_mips_24kc.ipk (and no libelf or libbpf)
4115 tc-mod-iptables_5.11.0-2_mips_24kc.ipk
Also fix up some Makefile indentation.
[1] https://github.com/openwrt/openwrt/pull/1627#issuecomment-447619962
[2] b048a305a3d3 ("iproute2: update to 5.11.0")
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry picked from commit 72885e9608d9c0fa06abce6bdb6dd054c2116eb7)
Diffstat (limited to 'toolchain/glibc')
0 files changed, 0 insertions, 0 deletions