immortalwrt/package/network/utils
Tony Ambardar 7289665dad 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] b048a305a3 ("iproute2: update to 5.11.0")

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-20 11:41:41 +08:00
..
adb-enablemodem treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
arptables fix & merge 2019-09-30 13:21:19 +08:00
bpftools bpftools: fix param order for install on macOS 2021-03-08 12:03:57 +08:00
comgt treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
dante dante: Fix compile with glibc 2020-04-19 19:57:16 +08:00
ebtables fix & merge 2019-09-30 13:21:19 +08:00
ethtool ethtool: update to version 5.10 2020-12-28 11:18:32 +08:00
iproute2 iproute2: separate tc into tiny and full variants 2021-03-20 11:41:41 +08:00
ipset build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 19:30:48 +08:00
iptables build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 19:30:48 +08:00
iw Wireless: rollback with mac80211 (#4683) 2020-05-27 11:45:56 +08:00
iwcap fix permission 2019-09-30 13:42:16 +08:00
iwinfo Wireless: rollback with mac80211 (#4683) 2020-05-27 11:45:56 +08:00
layerscape/restool treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
linux-atm treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
ltq-dsl-base ltq-dsl-base: remove useless echos in lantiq_dsl.sh 2020-08-18 17:04:27 +08:00
nftables nftables: Activate link time optimization (LTO) 2020-09-07 17:21:37 +08:00
resolveip fix permission 2019-09-30 13:42:16 +08:00
rssileds rssileds: use new application led trigger backend 2021-03-06 12:14:40 +08:00
tcpdump tcpdump: fix pcap-config issues 2020-12-23 11:22:49 +08:00
umbim umbim: supress warning about pointers to members of a packed struct in gcc9 2020-04-16 19:53:06 +08:00
uqmi uqmi: update to git HEAD 2020-11-24 23:19:41 +08:00
wireguard-tools wireguard-tools: depend on kmod-wireguard 2021-02-27 12:35:45 +08:00
wireless-tools build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 19:30:48 +08:00
wpan-tools treewide: sync with upstream source 2020-03-28 23:37:17 +08:00
wwan treewide: sync with upstream source 2020-03-28 23:37:17 +08:00