[OpenWrt-Devel] build: conditional dependencies in packages sharing the same source
eyal.birger at gmail.com
Sun Apr 24 07:47:39 EDT 2016
We've encountered an interesting behavior in the OpenWRT build system, on which
feedback would be appreciated:
When building packages sharing the same source code, all packages
prerequisites seem to
be joined unconditionally, instead of each prerequisite depending on
the package that required
As an example:
ppp-mod-pppoa shares its source code with the ppp package;
ppp-mod-pppoa depends on linux-atm;
as a result, ppp depends unconditionally on linux-atm.
i.e. in the generated tmp/.packagedeps file, the following is generated:
$(curdir)/ppp/compile += ... $(curdir)/linux-atm/compile ...
$(curdir)/ppp/compile += ... $(if
This results in unnecessary compilation dependencies.
Is this behavior intentional?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel