Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: avoid building config.mk unnecessarily
'make help' and similar targets in a clean tree can take quite a long time, and can even fail(!), because the unconditional inclusion of config.mk forces all the Makeconfig machinery to run even if we are doing nothing that might ever need any of it. Include it only when we're not asking for things like help, make dist, make clean and things like that. (A surprising amount does depend on config.mk and more will depend on it once we start to optionally bake installation paths into it, but this subset seems likely never to need it.) Signed-off-by: Nick Alcock <nick.alcock@oracle.com> Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
- Loading branch information