>>>>> "Syrone" == Syrone Wong <wong.syr...@gmail.com> writes:

Syrone> It seems this chunk is redundant - DEPENDS:=+kmod-sched-core +
Syrone> DEPENDS:=+kmod-sched-core iptables

Syrone> If you really want to add iptables as runtime dependency, it
Syrone> should be `+iptables`.

Syrone, afaict, tc dlopen()'s iptables .so's, which implies that
iptables is needed at runtime, at least to support the associated
features.

I didn't get circular dependency problems with this either.

Please test:

diff --git a/package/network/utils/iproute2/Makefile 
b/package/network/utils/iproute2/Makefile
index 65ae5cb457..17f28f0d16 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -19,6 +19,7 @@ PKG_BUILD_PARALLEL:=1
 PKG_LICENSE:=GPL-2.0
 
 
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DEPENDS:=iptables
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -44,7 +45,7 @@ Package/ip-full:=$(call Package/iproute2/Default,full,Full,ip)
 define Package/tc
 $(call Package/iproute2/Default)
   TITLE:=Traffic control utility
-  DEPENDS:=+kmod-sched-core
+  DEPENDS:=+kmod-sched-core +iptables
 endef
 
 define Package/genl


-- 
Russell Senior, President
russ...@personaltelco.net

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to