either runtime dependency ``` DEPENDS:=+kmod-sched-core +iptables ```
or build-time dependency ``` PKG_BUILD_DEPENDS:=iptables ``` Don't add both of them. Best Regards, Syrone Wong On Wed, Mar 22, 2017 at 2:53 PM, Russell Senior <russ...@personaltelco.net> wrote: >>>>>> "Russell" == Russell Senior <russ...@personaltelco.net> writes: > >>>>>> "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`. > > Russell> Syrone, afaict, tc dlopen()'s iptables .so's, which implies > Russell> that iptables is needed at runtime, at least to support the > Russell> associated features. > > Russell> I didn't get circular dependency problems with this either. > > Argh. Yes I did. > > $ make defconfig > Collecting package info: done > tmp/.config-package.in:53710:error: recursive dependency detected! > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > tmp/.config-package.in:53710: symbol PACKAGE_iptables is selected by > PACKAGE_tc > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > tmp/.config-package.in:59483: symbol PACKAGE_tc is selected by > PACKAGE_luci-app-splash > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > tmp/.config-package.in:35320: symbol PACKAGE_luci-app-splash is selected by > PACKAGE_luci-mod-freifunk-community > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > tmp/.config-package.in:34418: symbol PACKAGE_luci-mod-freifunk-community > depends on PACKAGE_iptables > # > # configuration written to .config > # > > > Suggestions? > > > -- > Russell Senior, President > russ...@personaltelco.net _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev