diff options
author | Lukas Rusak <lorusak@gmail.com> | 2022-12-29 19:27:42 -0800 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2023-03-11 11:26:13 +1000 |
commit | fce7880abee25089fdaf8272c05b286d949e6fd2 (patch) | |
tree | fad92634a90d45d65c8a91d8727a6af0116dc2ef /tools/depends/native/m4/Makefile | |
parent | cfad925044a9424182e0e3f388cc595abc66ed07 (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/native/m4/Makefile')
-rw-r--r-- | tools/depends/native/m4/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/native/m4/Makefile b/tools/depends/native/m4/Makefile index a41959146f..016f098752 100644 --- a/tools/depends/native/m4/Makefile +++ b/tools/depends/native/m4/Makefile @@ -18,7 +18,7 @@ LIBDYLIB=$(PLATFORM)/src/$(LIBNAME) all: .installed-$(PLATFORM) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) -rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM); $(CONFIGURE) |