iproute2: merge upstream CAKE support
authorJo-Philipp Wich <jo@mein.io>
Sat, 21 Jul 2018 10:22:09 +0000 (11:22 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 25 Jul 2018 13:49:05 +0000 (15:49 +0200)
commit2725ad8de47d4c9e39b466ce2dfe9d7953d40145
tree2198fb91715d3af73ef5f8b7dccabceed973d419
parent28d4e55432701a3db2068c357b515fc1b5e44794
iproute2: merge upstream CAKE support

Add upstream support for CAKE into iproute2 and conditionally enable it
depending on the build environment we're running under.

When running with SDK=1 and CONFIG_BUILDBOT=y we assume that we're
invoked by the release package builder at
http://release-builds.lede-project.org/17.01/packages/ and produce shared
iproute2 executables with legacy CAKE support for older released kernels.

When not running under the release package builder environment, produce
nonshared packages using the new, upstream CAKE support suitable for
the latest kernel.

Depending on the environment, suffix the PKG_RELEASE field with either
"-cake-legacy" or "-cake-upstream" to ensure that the nonshared packages
are preferred by opkg for newer builds.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/network/utils/iproute2/Makefile
package/network/utils/iproute2/patches-cake-legacy/950-add-legacy-cake-to-tc.patch [new file with mode: 0644]
package/network/utils/iproute2/patches-cake-upstream/951-add-upstream-cake-to-tc.patch [new file with mode: 0644]
package/network/utils/iproute2/patches/950-add-cake-to-tc.patch [deleted file]