- apply hunk that fixes an issue with (wrong?) dependencies. Initial notes were:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 15 May 2007 09:33:32 +0000 (09:33 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 15 May 2007 09:33:32 +0000 (09:33 -0000)
  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

networking/libiproute/Kbuild

index 8383630f2c8c80902fe307abec7df57cb368f5f7..95d37e8e73444a2797afd56232799d4e43ea87b0 100644 (file)
@@ -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 @@ lib-$(CONFIG_IP) += \
        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 @@ lib-$(CONFIG_IPADDR) += \
        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 @@ lib-$(CONFIG_IPLINK) += \
        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 @@ lib-$(CONFIG_IPROUTE) += \
        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 \