Hi All, 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 it. 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 ... And not: $(curdir)/ppp/compile += ... $(if $(CONFIG_ppp-mod-pppoa),$(curdir)/linux-atm/compile) ... This results in unnecessary compilation dependencies. Is this behavior intentional? Best regards, Eyal. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
