aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/tar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/native/tar/Makefile')
-rw-r--r--tools/depends/native/tar/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/native/tar/Makefile b/tools/depends/native/tar/Makefile
index 2283577b75..a3624ff331 100644
--- a/tools/depends/native/tar/Makefile
+++ b/tools/depends/native/tar/Makefile
@@ -23,7 +23,7 @@ APPBIN=$(PREFIX)/bin/tar
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); $(AUTORECONF)