aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/m4/Makefile
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2022-12-29 19:27:42 -0800
committerfuzzard <fuzzard@kodi.tv>2023-03-11 11:26:13 +1000
commitfce7880abee25089fdaf8272c05b286d949e6fd2 (patch)
treefad92634a90d45d65c8a91d8727a6af0116dc2ef /tools/depends/native/m4/Makefile
parentcfad925044a9424182e0e3f388cc595abc66ed07 (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/Makefile2
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)