From 7e824183726649a32a998930f3f0a6ab360d5d2d Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Tue, 10 Jul 2018 12:19:40 +0200 Subject: iproute2: update to 4.17.0 Update to the latest version of iproute2; see https://lwn.net/Articles/756991/ for a full overview of the changes in 4.17. Remove upstream patch 002-json_print-fix-hidden-64-bit-type-promotion. Backport upstream patch 001-rdma-sync-some-IP-headers-with-glibc fixing rdma compile issue. At the same time re-organize patch numbering so the OpenWRT specific patches start at 100. Signed-off-by: Hans Dedecker --- .../utils/iproute2/patches/170-ip_tiny.patch | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 package/network/utils/iproute2/patches/170-ip_tiny.patch (limited to 'package/network/utils/iproute2/patches/170-ip_tiny.patch') diff --git a/package/network/utils/iproute2/patches/170-ip_tiny.patch b/package/network/utils/iproute2/patches/170-ip_tiny.patch new file mode 100644 index 0000000000..5c8af0b0f1 --- /dev/null +++ b/package/network/utils/iproute2/patches/170-ip_tiny.patch @@ -0,0 +1,120 @@ +--- a/ip/Makefile ++++ b/ip/Makefile +@@ -16,6 +16,13 @@ RTMONOBJ=rtmon.o + + include ../config.mk + ++STATIC_SYM_FILTER:= ++ifeq ($(IP_CONFIG_TINY),y) ++ STATIC_SYM_FILTER:=iplink_can.c iplink_ipoib.c iplink_vxlan.c ++ CFLAGS += -DIPROUTE2_TINY ++endif ++STATIC_SYM_SOURCES:=$(filter-out $(STATIC_SYM_FILTER),$(wildcard *.c)) ++ + ALLOBJ=$(IPOBJ) $(RTMONOBJ) + SCRIPTS=ifcfg rtpr routel routef + TARGETS=ip rtmon +@@ -45,7 +52,7 @@ else + + ip: static-syms.o + static-syms.o: static-syms.h +-static-syms.h: $(wildcard *.c) ++static-syms.h: $(STATIC_SYM_SOURCES) + files="$^" ; \ + for s in `grep -B 3 '\