diff options
author | Lukas Rusak <lorusak@gmail.com> | 2022-12-29 19:27:42 -0800 |
---|---|---|
committer | Lukas Rusak <lorusak@gmail.com> | 2022-12-29 19:27:50 -0800 |
commit | 25d1e4792aa834128d7b959730fe6c0c3fd5e98d (patch) | |
tree | 2096b4fe51b11ff59243cb3de02df84f826ee07e /tools/depends/target/nghttp2 | |
parent | 077c7888fc58c05f27f061e306068cacb95843d2 (diff) |
tools/depends: make the hash file an order only prerequisite
this fixes an issue when rebuilding the dependencies that if a target is already built it doesn't get rebuilt
ref: https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html
Diffstat (limited to 'tools/depends/target/nghttp2')
-rw-r--r-- | tools/depends/target/nghttp2/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/target/nghttp2/Makefile b/tools/depends/target/nghttp2/Makefile index 339f5e47a2..9e2768e7c1 100644 --- a/tools/depends/target/nghttp2/Makefile +++ b/tools/depends/target/nghttp2/Makefile @@ -12,7 +12,7 @@ LIBDYLIB=$(PLATFORM)/build/lib/$(BYPRODUCT) all: .installed-$(PLATFORM) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)/build cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM)/build; $(CMAKE) $(CMAKE_OPTIONS) .. |