From ec2e14fc9a3b2d432c6e193df1d6c25f7e8e5779 Mon Sep 17 00:00:00 2001 From: suyuan168 <175338101@qq.com> Date: Sun, 8 May 2022 00:13:56 +0800 Subject: [PATCH] fix --- iproute2/Makefile | 15 ++- iproute2/patches/170-ip_tiny.patch | 110 ------------------ .../patches/195-build_variant_ip_tc.patch | 22 ---- 3 files changed, 10 insertions(+), 137 deletions(-) delete mode 100644 iproute2/patches/170-ip_tiny.patch delete mode 100644 iproute2/patches/195-build_variant_ip_tc.patch diff --git a/iproute2/Makefile b/iproute2/Makefile index 928f44e79..c7aa3c0bf 100644 --- a/iproute2/Makefile +++ b/iproute2/Makefile @@ -8,12 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iproute2 -PKG_VERSION:=5.15.0 PKG_RELEASE:=$(AUTORELEASE) -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2 -PKG_HASH:=38e3e4a5f9a7f5575c015027a10df097c149111eeb739993128e5b2b35b291ff +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/network/iproute2/iproute2.git +PKG_SOURCE_VERSION:=29da83f89f6e1fe528c59131a01f5d43bcd0a000 +PKG_VERSION:=5.16.0-$(PKG_SOURCE_VERSION) + PKG_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=iptables PKG_LICENSE:=GPL-2.0 @@ -230,12 +231,16 @@ define Package/rdma/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/rdma/rdma $(1)/usr/sbin/ endef -$(eval $(call BuildPackage,ip-tiny)) +#$(eval $(call BuildPackage,ip-tiny)) $(eval $(call BuildPackage,ip-full)) # build tc-mod-iptables before its dependents, to avoid # spurious rebuilds when building multiple variants. $(eval $(call BuildPackage,tc-mod-iptables)) +<<<<<<< HEAD $(eval $(call BuildPackage,tc-tiny)) +======= +#$(eval $(call BuildPackage,tc-tiny)) +>>>>>>> parent of 406b6780 (fix iproute2) $(eval $(call BuildPackage,tc-full)) $(eval $(call BuildPackage,genl)) $(eval $(call BuildPackage,ip-bridge)) diff --git a/iproute2/patches/170-ip_tiny.patch b/iproute2/patches/170-ip_tiny.patch deleted file mode 100644 index cd687e760..000000000 --- a/iproute2/patches/170-ip_tiny.patch +++ /dev/null @@ -1,110 +0,0 @@ ---- a/ip/Makefile -+++ b/ip/Makefile -@@ -17,6 +17,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 -@@ -46,7 +53,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 '\