#22226: False recursive dependency when using conditional dependency
------------------------+--------------------------------
Reporter: ilario | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: toolchain | Version: Chaos Calmer 15.05
Resolution: | Keywords:
------------------------+--------------------------------
Comment (by ilario):
Replying to [comment:1 hnyman]:
> Replying to [ticket:22226 ilario]:
> > dummysecond selects dummyfirst
> > dummythird selects dummysecond if dummyfirst is selected (this is the
conditional dependency)
>
> That looks like a real circular dependency that dummythird creates.
Placing it behind a conditional does not change the circular nature.
Ah, I didn't know how huge was the definition of circular dependency.
Anyway the reported dependency set prints an error but the behavior of
menuconfig is exactly the one I desired.
Trying to workaround the problem I noticed that substituting the line in
dummythird/Makefile from
{{{
DEPENDS:=+PACKAGE_dummyfirst:dummysecond
}}}
to
{{{
DEPENDS:=PACKAGE_dummyfirst:dummysecond
}}}
(which I suppose is supported also, correct?) doesn't print any error but
results in a quite strange behavior in menuconfig.
Thanks
--
Ticket URL: <https://dev.openwrt.org/ticket/22226#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets