openwrt/package
Tony Ambardar 3e9d639e8f 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>
(cherry picked from commit 72885e9608)
2021-04-10 14:22:28 +02:00
..
base-files base-files: add logging for configuration import 2021-03-22 21:08:00 +01:00
boot uboot-envtools: adjust compile patch to version v2021.01 2021-03-01 21:50:08 +01:00
devel strace: update package to v5.10 2021-01-30 01:03:00 +01:00
firmware tfa-layerscape: build fiptool again 2021-02-21 13:55:30 +01:00
kernel kernel/modules: relocate teql hotplug from iproute2 to kmod-sched 2021-04-10 14:22:28 +02:00
libs libunwind: Add MIPS64 dep check 2021-03-29 22:26:27 +02:00
network iproute2: separate tc into tiny and full variants 2021-04-10 14:22:28 +02:00
system rpcd: update to git HEAD 2021-03-15 21:53:16 +00:00
utils firmware-utils: bcm4908img: convert into a package 2021-04-08 13:16:13 +02:00
Makefile build: always build package/kernel/linux 2020-10-15 13:25:58 +02:00