Skip to content

Makefile: header dependency checker fixes

Jonathan Nieder git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Makefile: fix header dependency checker to allow NO_CURL buildsMakefile+4 -10 replies
2/2Makefile: let header dependency checker override COMPUTE_HEADER_DEPENDENCIESMakefile+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Makefile: header dependency checker fixes

Two fixes to make the CHECK_HEADER_DEPENDENCIES facility more usable. Now you can

echo >>config.mak NO_CURL = YesPlease
echo >>config.mak COMPUTE_HEADER_DEPENDENCIES = YesPlease make -j16
make -j16 CHECK_HEADER_DEPENDENCIES=Yep

on some super-fast machine without libcurl-dev installed and it will check the header dependencies for the rest of the makefile.

Previously it would error out for two reasons:

- COMPUTE_HEADER_DEPENDENCIES and CHECK_HEADER_DEPENDENCIES are incompatible

- the safety to make sure the automatically computed header dependencies were present did not understand that HTTP support is missing

This is nothing urgent, just nice to have. I’d be glad to carry them locally if that’s more convenient.

Jonathan Nieder (2):
Makefile: fix header dependency checker to allow NO_CURL builds
Makefile: let header dependency checker override
COMPUTE_HEADER_DEPENDENCIES

 Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)