瀏覽代碼

- there is something wrong in the new buildsys: If one selects ip and has e..g rule or route unset, ip still wants to build those.
This fails (correctly) since rtnl_rttable_n2a and rtnl_rtrealm_n2a aren't available if they were turned off. TODO: Talk to vda about this

Bernhard Reutner-Fischer 18 年之前
父節點
當前提交
0b351be15b
共有 1 個文件被更改,包括 59 次插入0 次删除
  1. 59 0
      package/busybox/busybox.network-odd-dependencies.patch

+ 59 - 0
package/busybox/busybox.network-odd-dependencies.patch

@@ -0,0 +1,59 @@
+Index: busybox/networking/libiproute/Kbuild
+===================================================================
+--- busybox/networking/libiproute/Kbuild	(revision 17720)
++++ busybox/networking/libiproute/Kbuild	(working copy)
+@@ -8,11 +8,6 @@
+ lib-y:=
+ lib-$(CONFIG_IP) += \
+ 	ip_parse_common_args.o \
+-	ipaddress.o \
+-	iplink.o \
+-	iproute.o \
+-	iptunnel.o \
+-	iprule.o \
+ 	libnetlink.o \
+ 	ll_addr.o \
+ 	ll_map.o \
+@@ -22,7 +17,7 @@
+ 	rtm_map.o \
+ 	utils.o
+ 
+-lib-$(CONFIG_IPADDR) += \
++lib-$(CONFIG_FEATURE_IP_ADDRESS) += \
+ 	ip_parse_common_args.o \
+ 	ipaddress.o \
+ 	libnetlink.o \
+@@ -32,7 +27,7 @@
+ 	rt_names.o \
+ 	utils.o
+ 
+-lib-$(CONFIG_IPLINK) += \
++lib-$(CONFIG_FEATURE_IP_LINK) += \
+ 	ip_parse_common_args.o \
+ 	ipaddress.o \
+ 	iplink.o \
+@@ -43,7 +38,7 @@
+ 	rt_names.o \
+ 	utils.o
+ 
+-lib-$(CONFIG_IPROUTE) += \
++lib-$(CONFIG_FEATURE_IP_ROUTE) += \
+ 	ip_parse_common_args.o \
+ 	iproute.o \
+ 	libnetlink.o \
+@@ -52,13 +47,13 @@
+ 	rtm_map.o \
+ 	utils.o
+ 
+-lib-$(CONFIG_IPTUNNEL) += \
++lib-$(CONFIG_FEATURE_IP_TUNNEL) += \
+ 	ip_parse_common_args.o \
+ 	iptunnel.o \
+ 	rt_names.o \
+ 	utils.o
+ 
+-lib-$(CONFIG_IPRULE) += \
++lib-$(CONFIG_FEATURE_IP_RULE) += \
+ 	ip_parse_common_args.o \
+ 	iprule.o \
+ 	rt_names.o \