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 | |
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')
77 files changed, 77 insertions, 77 deletions
diff --git a/tools/depends/target/alsa-lib/Makefile b/tools/depends/target/alsa-lib/Makefile index ae3afc4c18..57d17873a8 100644 --- a/tools/depends/target/alsa-lib/Makefile +++ b/tools/depends/target/alsa-lib/Makefile @@ -28,7 +28,7 @@ LIBDYLIB=$(PLATFORM)/src/.libs/$(LIBNAME).so 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) diff --git a/tools/depends/target/boblight/Makefile b/tools/depends/target/boblight/Makefile index a766b09ef3..641061cd38 100644 --- a/tools/depends/target/boblight/Makefile +++ b/tools/depends/target/boblight/Makefile @@ -23,7 +23,7 @@ LIBDYLIB=$(PLATFORM)/src/.libs/$(LIBNAME).a all: $(LIBDYLIB) .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); patch -p1 -i ../01-fix_fpermissive.patch diff --git a/tools/depends/target/bzip2/Makefile b/tools/depends/target/bzip2/Makefile index 38c8443d1b..c5ef21e165 100644 --- a/tools/depends/target/bzip2/Makefile +++ b/tools/depends/target/bzip2/Makefile @@ -17,7 +17,7 @@ LIBDYLIB=$(PLATFORM)/libbz2.a 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); patch -p1 -i ../Makefile.patch diff --git a/tools/depends/target/crossguid/Makefile b/tools/depends/target/crossguid/Makefile index 6cdc802924..f37050dab5 100644 --- a/tools/depends/target/crossguid/Makefile +++ b/tools/depends/target/crossguid/Makefile @@ -35,7 +35,7 @@ include ../../download-files.include all: .installed-$(PLATFORM) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) ifeq ($(PREFIX),) @echo @echo "ERROR: please set PREFIX to the kodi install path e.g. make PREFIX=/usr/local" diff --git a/tools/depends/target/curl/Makefile b/tools/depends/target/curl/Makefile index d98e3e791a..81c3130caf 100644 --- a/tools/depends/target/curl/Makefile +++ b/tools/depends/target/curl/Makefile @@ -19,7 +19,7 @@ LIBDYLIB=$(PLATFORM)/lib/.libs/lib$(LIBNAME).a 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); patch -p1 -i ../01-patch-autoconf-GH-5130.patch diff --git a/tools/depends/target/dav1d/Makefile b/tools/depends/target/dav1d/Makefile index fb25c7891a..c801cd1155 100644 --- a/tools/depends/target/dav1d/Makefile +++ b/tools/depends/target/dav1d/Makefile @@ -61,7 +61,7 @@ all: .installed-$(PLATFORM) download: $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) -$(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); rm -rf build; mkdir -p build diff --git a/tools/depends/target/dbus/Makefile b/tools/depends/target/dbus/Makefile index a159bef7ff..73d12e41cd 100644 --- a/tools/depends/target/dbus/Makefile +++ b/tools/depends/target/dbus/Makefile @@ -18,7 +18,7 @@ LIBDYLIB=$(PLATFORM)/$(LIBNAME)/.libs/lib$(LIBNAME)-1.so all: $(LIBDYLIB) .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) diff --git a/tools/depends/target/expat/Makefile b/tools/depends/target/expat/Makefile index a36631b05a..501e533d72 100644 --- a/tools/depends/target/expat/Makefile +++ b/tools/depends/target/expat/Makefile @@ -13,7 +13,7 @@ LIBDYLIB=$(PLATFORM)/build/$(BYPRODUCT) 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); mkdir -p build diff --git a/tools/depends/target/ffmpeg/Makefile b/tools/depends/target/ffmpeg/Makefile index 5cdc4ffa3e..e52e9f2112 100644 --- a/tools/depends/target/ffmpeg/Makefile +++ b/tools/depends/target/ffmpeg/Makefile @@ -39,7 +39,7 @@ all: .installed-$(PLATFORM) $(TARBALLS_LOCATION)/$(ARCHIVE): cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) -Ls --create-dirs -f -o $(TARBALLS_LOCATION)/$(ARCHIVE) $(BASE_URL)/archive/$(VERSION).tar.gz -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) rm -rf $(PLATFORM); mkdir -p $(PLATFORM) rm -rf $(PLATFORM); mkdir -p $(PLATFORM)/build cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) diff --git a/tools/depends/target/flatbuffers/Makefile b/tools/depends/target/flatbuffers/Makefile index cd65e66c7f..a1b034a92c 100644 --- a/tools/depends/target/flatbuffers/Makefile +++ b/tools/depends/target/flatbuffers/Makefile @@ -37,7 +37,7 @@ include ../../download-files.include all: .installed-$(PLATFORM) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) ifeq ($(PREFIX),) @echo @echo "ERROR: please set PREFIX to the kodi install path e.g. make PREFIX=/usr/local" diff --git a/tools/depends/target/fmt/Makefile b/tools/depends/target/fmt/Makefile index abff52527d..c66acb10d8 100644 --- a/tools/depends/target/fmt/Makefile +++ b/tools/depends/target/fmt/Makefile @@ -33,7 +33,7 @@ include ../../download-files.include all: .installed-$(PLATFORM) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) ifeq ($(PREFIX),) @echo @echo "ERROR: please set PREFIX to the kodi install path e.g. make PREFIX=/usr/local" diff --git a/tools/depends/target/fontconfig/Makefile b/tools/depends/target/fontconfig/Makefile index 4386e54f0a..2d259939a6 100644 --- a/tools/depends/target/fontconfig/Makefile +++ b/tools/depends/target/fontconfig/Makefile @@ -26,7 +26,7 @@ LIBDYLIB=$(PLATFORM)/build/src/$(BYPRODUCT) 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) . build diff --git a/tools/depends/target/freetype2-noharfbuzz/Makefile b/tools/depends/target/freetype2-noharfbuzz/Makefile index e4a9fec384..83c15453fe 100644 --- a/tools/depends/target/freetype2-noharfbuzz/Makefile +++ b/tools/depends/target/freetype2-noharfbuzz/Makefile @@ -28,7 +28,7 @@ LIBDYLIB=$(PLATFORM)/build/$(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) ifeq ($(OS),darwin_embedded) diff --git a/tools/depends/target/freetype2/Makefile b/tools/depends/target/freetype2/Makefile index 886959982d..7ff4d1f658 100644 --- a/tools/depends/target/freetype2/Makefile +++ b/tools/depends/target/freetype2/Makefile @@ -27,7 +27,7 @@ LIBDYLIB=$(PLATFORM)/build/$(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) ifeq ($(OS),darwin_embedded) diff --git a/tools/depends/target/fribidi/Makefile b/tools/depends/target/fribidi/Makefile index 2545089933..baef5dbd07 100644 --- a/tools/depends/target/fribidi/Makefile +++ b/tools/depends/target/fribidi/Makefile @@ -27,7 +27,7 @@ LIBDYLIB=$(PLATFORM)/build/lib/lib$(LIBNAME).a 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) . build diff --git a/tools/depends/target/fstrcmp/Makefile b/tools/depends/target/fstrcmp/Makefile index a0a61e46e7..e1642b450b 100644 --- a/tools/depends/target/fstrcmp/Makefile +++ b/tools/depends/target/fstrcmp/Makefile @@ -8,7 +8,7 @@ LIBDYLIB=$(PLATFORM)/lib/.libs/$(BYPRODUCT) 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 -vif; $(CONFIGURE) diff --git a/tools/depends/target/gettext/Makefile b/tools/depends/target/gettext/Makefile index 23cf678b77..4607aff4f4 100644 --- a/tools/depends/target/gettext/Makefile +++ b/tools/depends/target/gettext/Makefile @@ -25,7 +25,7 @@ LIBDYLIB=$(PLATFORM)/gettext-runtime/intl/.libs/libintl.a 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) diff --git a/tools/depends/target/gnutls/Makefile b/tools/depends/target/gnutls/Makefile index 30bf8e297d..3e75799b7d 100644 --- a/tools/depends/target/gnutls/Makefile +++ b/tools/depends/target/gnutls/Makefile @@ -20,7 +20,7 @@ LIBDYLIB=$(PLATFORM)/lib/.libs/lib$(LIBNAME).a 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); patch -p1 -i ../add-dl-as-private-lib.patch diff --git a/tools/depends/target/gtest/Makefile b/tools/depends/target/gtest/Makefile index 0b892a1213..32a09cd6c3 100644 --- a/tools/depends/target/gtest/Makefile +++ b/tools/depends/target/gtest/Makefile @@ -5,7 +5,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) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM); $(CMAKE) -B build -DBUILD_GMOCK:BOOL=OFF diff --git a/tools/depends/target/harfbuzz/Makefile b/tools/depends/target/harfbuzz/Makefile index 4cf4ea85ae..8538701350 100644 --- a/tools/depends/target/harfbuzz/Makefile +++ b/tools/depends/target/harfbuzz/Makefile @@ -42,7 +42,7 @@ LIBDYLIB=$(PLATFORM)/build/lib/lib$(LIBNAME).a 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) . build diff --git a/tools/depends/target/libandroidjni/Makefile b/tools/depends/target/libandroidjni/Makefile index f97aee3c6f..438162c7cb 100644 --- a/tools/depends/target/libandroidjni/Makefile +++ b/tools/depends/target/libandroidjni/Makefile @@ -5,7 +5,7 @@ LIBDYLIB=$(PLATFORM)/build/$(BYPRODUCT) 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); rm -rf build; mkdir -p build diff --git a/tools/depends/target/libass/Makefile b/tools/depends/target/libass/Makefile index 6272e051ad..728b798bc3 100644 --- a/tools/depends/target/libass/Makefile +++ b/tools/depends/target/libass/Makefile @@ -24,7 +24,7 @@ LIBDYLIB=$(PLATFORM)/$(LIBNAME)/.libs/$(LIBNAME).a 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) -vif diff --git a/tools/depends/target/libbluray/Makefile b/tools/depends/target/libbluray/Makefile index db157b0f93..25abadd73a 100644 --- a/tools/depends/target/libbluray/Makefile +++ b/tools/depends/target/libbluray/Makefile @@ -15,7 +15,7 @@ LIBDYLIB=$(PLATFORM)/.libs/$(BYPRODUCT) 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) ifeq ($(OS),darwin_embedded) diff --git a/tools/depends/target/libcdio-gplv3/Makefile b/tools/depends/target/libcdio-gplv3/Makefile index dc4bb4cd76..5d1a8501b2 100644 --- a/tools/depends/target/libcdio-gplv3/Makefile +++ b/tools/depends/target/libcdio-gplv3/Makefile @@ -20,7 +20,7 @@ LIBDYLIB=$(PLATFORM)/lib/driver/.libs/$(LIBNAME).a 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) ifeq ($(TARGET_PLATFORM),macosx) diff --git a/tools/depends/target/libcdio/Makefile b/tools/depends/target/libcdio/Makefile index a30712b841..5b6e495e93 100644 --- a/tools/depends/target/libcdio/Makefile +++ b/tools/depends/target/libcdio/Makefile @@ -19,7 +19,7 @@ LIBDYLIB=$(PLATFORM)/lib/driver/.libs/$(LIBNAME).a 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); patch -p1 -i ../configure.patch diff --git a/tools/depends/target/libcec/Makefile b/tools/depends/target/libcec/Makefile index 27dc9e3e58..884e9bf1f5 100644 --- a/tools/depends/target/libcec/Makefile +++ b/tools/depends/target/libcec/Makefile @@ -21,7 +21,7 @@ endif 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); patch -p1 -i ../remove_git_info.patch diff --git a/tools/depends/target/libdrm/Makefile b/tools/depends/target/libdrm/Makefile index 9ff1ff2d73..ffd9a64a2e 100644 --- a/tools/depends/target/libdrm/Makefile +++ b/tools/depends/target/libdrm/Makefile @@ -55,7 +55,7 @@ all: .installed-$(PLATFORM) download: $(TARBALLS_LOCATION)/$(ARCHIVE) -$(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); rm -rf build; mkdir -p build diff --git a/tools/depends/target/libdvdcss/Makefile b/tools/depends/target/libdvdcss/Makefile index b157eee34d..5be5138b27 100644 --- a/tools/depends/target/libdvdcss/Makefile +++ b/tools/depends/target/libdvdcss/Makefile @@ -29,7 +29,7 @@ download: $(TARBALLS_LOCATION)/$(ARCHIVE) $(TARBALLS_LOCATION)/$(ARCHIVE): cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) -o $(TARBALLS_LOCATION)/$(ARCHIVE) $(BASE_URL)/archive/$(VERSION).tar.gz -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) rm -rf $(PLATFORM); mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM); $(AUTORECONF) -vif && ac_cv_path_GIT= ./configure $(config) diff --git a/tools/depends/target/libdvdnav/Makefile b/tools/depends/target/libdvdnav/Makefile index eca4d53f54..57214c9728 100644 --- a/tools/depends/target/libdvdnav/Makefile +++ b/tools/depends/target/libdvdnav/Makefile @@ -40,7 +40,7 @@ download: $(TARBALLS_LOCATION)/$(ARCHIVE) $(TARBALLS_LOCATION)/$(ARCHIVE): cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) -o $(TARBALLS_LOCATION)/$(ARCHIVE) $(BASE_URL)/archive/$(VERSION).tar.gz -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) rm -rf $(PLATFORM); mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM); $(AUTORECONF) -vif && $(PKGCONFIGPATH) CFLAGS="$(CFLAGS) $(EXTRA_CFLAGS)" ac_cv_path_GIT= ./configure $(config) diff --git a/tools/depends/target/libdvdread/Makefile b/tools/depends/target/libdvdread/Makefile index 0be5f2d6f4..3231b431ee 100644 --- a/tools/depends/target/libdvdread/Makefile +++ b/tools/depends/target/libdvdread/Makefile @@ -39,7 +39,7 @@ download: $(TARBALLS_LOCATION)/$(ARCHIVE) $(TARBALLS_LOCATION)/$(ARCHIVE): cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) -o $(TARBALLS_LOCATION)/$(ARCHIVE) $(BASE_URL)/archive/$(VERSION).tar.gz -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) rm -rf $(PLATFORM); mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM); $(AUTORECONF) -vif && $(PKGCONFIGPATH) CFLAGS="$(CFLAGS) $(EXTRA_CFLAGS)" ac_cv_path_GIT= ./configure $(config) diff --git a/tools/depends/target/libevdev/Makefile b/tools/depends/target/libevdev/Makefile index 74ec3b96c3..8bd4bc3d91 100644 --- a/tools/depends/target/libevdev/Makefile +++ b/tools/depends/target/libevdev/Makefile @@ -17,7 +17,7 @@ LIBDYLIB=$(PLATFORM)/libevdev/.libs/libevdev.la 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) diff --git a/tools/depends/target/libffi/Makefile b/tools/depends/target/libffi/Makefile index 713fb08ec1..5b6e0285ae 100644 --- a/tools/depends/target/libffi/Makefile +++ b/tools/depends/target/libffi/Makefile @@ -8,7 +8,7 @@ LIBDYLIB=$(PLATFORM)/.libs/$(LIBNAME).a 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) diff --git a/tools/depends/target/libgcrypt/Makefile b/tools/depends/target/libgcrypt/Makefile index 9ad708a35c..bb5a0053c5 100644 --- a/tools/depends/target/libgcrypt/Makefile +++ b/tools/depends/target/libgcrypt/Makefile @@ -31,7 +31,7 @@ LIBDYLIB=$(PLATFORM)/src/.libs/$(BYPRODUCT) 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) # do not build the tests or docs diff --git a/tools/depends/target/libgpg-error/Makefile b/tools/depends/target/libgpg-error/Makefile index 63825f09ab..5531a92b01 100644 --- a/tools/depends/target/libgpg-error/Makefile +++ b/tools/depends/target/libgpg-error/Makefile @@ -14,7 +14,7 @@ LIBDYLIB=$(PLATFORM)/src/.libs/$(LIBNAME).a 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) ifeq ($(TARGET_PLATFORM),appletvos) diff --git a/tools/depends/target/libiconv/Makefile b/tools/depends/target/libiconv/Makefile index 8782e51a78..7a7a981ef6 100644 --- a/tools/depends/target/libiconv/Makefile +++ b/tools/depends/target/libiconv/Makefile @@ -19,7 +19,7 @@ LIBDYLIB=$(PLATFORM)/lib/.libs/$(LIBNAME).a 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) diff --git a/tools/depends/target/libinput/Makefile b/tools/depends/target/libinput/Makefile index d0aeb88093..7f6469760c 100644 --- a/tools/depends/target/libinput/Makefile +++ b/tools/depends/target/libinput/Makefile @@ -34,7 +34,7 @@ LIBDYLIB=$(PLATFORM)/build/libinput.so 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); rm -rf build; mkdir -p build diff --git a/tools/depends/target/libjpeg-turbo/Makefile b/tools/depends/target/libjpeg-turbo/Makefile index 1b67cd0046..c64bfa8ac1 100644 --- a/tools/depends/target/libjpeg-turbo/Makefile +++ b/tools/depends/target/libjpeg-turbo/Makefile @@ -6,7 +6,7 @@ LIBDYLIB=$(PLATFORM)/build/libjpeg.a 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); patch -p1 -i ../01-disable-executables.patch diff --git a/tools/depends/target/liblzo2/Makefile b/tools/depends/target/liblzo2/Makefile index 08eeb2671b..465df95428 100644 --- a/tools/depends/target/liblzo2/Makefile +++ b/tools/depends/target/liblzo2/Makefile @@ -11,7 +11,7 @@ LIBDYLIB=$(PLATFORM)/build/$(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) .. diff --git a/tools/depends/target/libmicrohttpd/Makefile b/tools/depends/target/libmicrohttpd/Makefile index 26d6c64b46..2d2e5f20b2 100644 --- a/tools/depends/target/libmicrohttpd/Makefile +++ b/tools/depends/target/libmicrohttpd/Makefile @@ -26,7 +26,7 @@ LIBDYLIB=$(PLATFORM)/src/microhttpd/.libs/$(LIBNAME).a 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); patch -p1 -i ../001-remove-assert.patch diff --git a/tools/depends/target/libnfs/Makefile b/tools/depends/target/libnfs/Makefile index 0029cda86a..f4cfd33a37 100644 --- a/tools/depends/target/libnfs/Makefile +++ b/tools/depends/target/libnfs/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) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM); mkdir -p build diff --git a/tools/depends/target/libplist/Makefile b/tools/depends/target/libplist/Makefile index bf574d5798..7eda57c253 100644 --- a/tools/depends/target/libplist/Makefile +++ b/tools/depends/target/libplist/Makefile @@ -17,7 +17,7 @@ all: .installed-$(PLATFORM) CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; ./configure --prefix=$(PREFIX) --disable-shared --without-cython -$(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); patch -p1 -i ../01-disable-tools-tests.patch diff --git a/tools/depends/target/libpng/Makefile b/tools/depends/target/libpng/Makefile index 934ab4cce2..eae10a37d4 100644 --- a/tools/depends/target/libpng/Makefile +++ b/tools/depends/target/libpng/Makefile @@ -27,7 +27,7 @@ LIBDYLIB=$(PLATFORM)/build/$(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) .. diff --git a/tools/depends/target/libsdl/Makefile b/tools/depends/target/libsdl/Makefile index 7f30df226d..d776b89370 100644 --- a/tools/depends/target/libsdl/Makefile +++ b/tools/depends/target/libsdl/Makefile @@ -20,7 +20,7 @@ LIBDYLIB=$(PLATFORM)/build/.libs/lib$(LIBNAME).a 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); patch -p1 -i ../01-SDL_SetWidthHeight.patch diff --git a/tools/depends/target/libshairplay/Makefile b/tools/depends/target/libshairplay/Makefile index 686134b66c..a2a1ed0e53 100644 --- a/tools/depends/target/libshairplay/Makefile +++ b/tools/depends/target/libshairplay/Makefile @@ -18,7 +18,7 @@ LIBDYLIB=$(PLATFORM)/src/lib/.libs/libshairplay.a 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); patch -p1 -i ../0001-configure-fix-dns-sd-check.patch diff --git a/tools/depends/target/libudev/Makefile b/tools/depends/target/libudev/Makefile index a7e1b764ed..81f905f657 100644 --- a/tools/depends/target/libudev/Makefile +++ b/tools/depends/target/libudev/Makefile @@ -17,7 +17,7 @@ LIBDYLIB=$(PLATFORM)/src/libudev/.libs/libudev.la 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) -vif diff --git a/tools/depends/target/libusb/Makefile b/tools/depends/target/libusb/Makefile index f4368fd1eb..53776961c4 100644 --- a/tools/depends/target/libusb/Makefile +++ b/tools/depends/target/libusb/Makefile @@ -18,7 +18,7 @@ LIBDYLIB=$(PLATFORM)/.libs/$(LIBNAME).a all: $(LIBDYLIB) .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); patch -p1 -i ../no-Werror.patch diff --git a/tools/depends/target/libuuid/Makefile b/tools/depends/target/libuuid/Makefile index 5f5a24a849..c091b77b78 100644 --- a/tools/depends/target/libuuid/Makefile +++ b/tools/depends/target/libuuid/Makefile @@ -15,7 +15,7 @@ LIBDYLIB=$(PLATFORM)/lib/$(LIBNAME).a 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) # e2fsprog libuuid often fails because it doesnt create include/uuid location before diff --git a/tools/depends/target/libva/Makefile b/tools/depends/target/libva/Makefile index ae307715bd..a100afb44f 100644 --- a/tools/depends/target/libva/Makefile +++ b/tools/depends/target/libva/Makefile @@ -40,7 +40,7 @@ all: .installed-$(PLATFORM) download: $(TARBALLS_LOCATION)/$(ARCHIVE) -$(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); rm -rf build; mkdir -p build diff --git a/tools/depends/target/libxkbcommon/Makefile b/tools/depends/target/libxkbcommon/Makefile index df576f674d..b692e15b26 100644 --- a/tools/depends/target/libxkbcommon/Makefile +++ b/tools/depends/target/libxkbcommon/Makefile @@ -17,7 +17,7 @@ LIBDYLIB=$(PLATFORM)/.libs/libxkbcommon.la 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) diff --git a/tools/depends/target/libxml2/Makefile b/tools/depends/target/libxml2/Makefile index d3b4d352cf..bc6d0e2255 100644 --- a/tools/depends/target/libxml2/Makefile +++ b/tools/depends/target/libxml2/Makefile @@ -16,7 +16,7 @@ LIBDYLIB=$(PLATFORM)/build/$(BYPRODUCT) 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); mkdir -p build diff --git a/tools/depends/target/libxslt/Makefile b/tools/depends/target/libxslt/Makefile index 292c2868e6..b9e320a96f 100644 --- a/tools/depends/target/libxslt/Makefile +++ b/tools/depends/target/libxslt/Makefile @@ -23,7 +23,7 @@ LIBDYLIB=$(PLATFORM)/$(LIBNAME)/.libs/$(LIBNAME).a 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); patch -p1 -i ../01-all-disable-tests-docs.patch diff --git a/tools/depends/target/libzip/Makefile b/tools/depends/target/libzip/Makefile index 5034951740..a7e5a7164b 100644 --- a/tools/depends/target/libzip/Makefile +++ b/tools/depends/target/libzip/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) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM); $(CMAKE) -B build ${CMAKE_OPTIONS} diff --git a/tools/depends/target/mariadb/Makefile b/tools/depends/target/mariadb/Makefile index 20a8fe5347..932125d517 100644 --- a/tools/depends/target/mariadb/Makefile +++ b/tools/depends/target/mariadb/Makefile @@ -18,7 +18,7 @@ endif 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) ifeq ($(OS),android) diff --git a/tools/depends/target/mesa/Makefile b/tools/depends/target/mesa/Makefile index ca8ce7381e..317ee5855d 100644 --- a/tools/depends/target/mesa/Makefile +++ b/tools/depends/target/mesa/Makefile @@ -73,7 +73,7 @@ all: .installed-$(PLATFORM) download: $(TARBALLS_LOCATION)/$(ARCHIVE) -$(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); rm -rf build; mkdir -p build diff --git a/tools/depends/target/mtdev/Makefile b/tools/depends/target/mtdev/Makefile index 58563af945..955c445336 100644 --- a/tools/depends/target/mtdev/Makefile +++ b/tools/depends/target/mtdev/Makefile @@ -17,7 +17,7 @@ LIBDYLIB=$(PLATFORM)/src/.libs/libmtdev.la 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) diff --git a/tools/depends/target/nettle/Makefile b/tools/depends/target/nettle/Makefile index 2c609c7231..2e06a1055b 100644 --- a/tools/depends/target/nettle/Makefile +++ b/tools/depends/target/nettle/Makefile @@ -24,7 +24,7 @@ LIBDYLIB=$(PLATFORM)/lib$(LIBNAME).a 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); patch -p1 -i ../01-disable_testsuite.patch 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) .. diff --git a/tools/depends/target/openssl/Makefile b/tools/depends/target/openssl/Makefile index ee22a58eb1..da3274507a 100644 --- a/tools/depends/target/openssl/Makefile +++ b/tools/depends/target/openssl/Makefile @@ -51,7 +51,7 @@ LIBDYLIB=$(PLATFORM)/libssl.a 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) ifeq ($(OS),android) diff --git a/tools/depends/target/p8-platform/Makefile b/tools/depends/target/p8-platform/Makefile index a6dd9b57f3..649c638b9a 100644 --- a/tools/depends/target/p8-platform/Makefile +++ b/tools/depends/target/p8-platform/Makefile @@ -14,7 +14,7 @@ LIBDYLIB=$(PLATFORM)/build/lib$(LIBNAME).a 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); patch -p1 -i ../0001-fix-c++17-support.patch diff --git a/tools/depends/target/pcre/Makefile b/tools/depends/target/pcre/Makefile index 26fc932852..3c682a4949 100644 --- a/tools/depends/target/pcre/Makefile +++ b/tools/depends/target/pcre/Makefile @@ -31,7 +31,7 @@ LIBDYLIB=$(PLATFORM)/build/$(BYPRODUCT) 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); mkdir -p build diff --git a/tools/depends/target/python3/Makefile b/tools/depends/target/python3/Makefile index d6b427e35a..f1a0146308 100644 --- a/tools/depends/target/python3/Makefile +++ b/tools/depends/target/python3/Makefile @@ -53,7 +53,7 @@ LIBDYLIB=$(PLATFORM)/libpython$(PYTHON_VERSION).a 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); patch -p1 -i ../crosscompile.patch diff --git a/tools/depends/target/pythonmodule-pil/Makefile b/tools/depends/target/pythonmodule-pil/Makefile index b0b39a1b66..d1fde35439 100644 --- a/tools/depends/target/pythonmodule-pil/Makefile +++ b/tools/depends/target/pythonmodule-pil/Makefile @@ -60,7 +60,7 @@ export LDSHARED LDFLAGS PYTHONPATH 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); patch -p1 -i ../pillow-crosscompile.patch diff --git a/tools/depends/target/pythonmodule-pycryptodome/Makefile b/tools/depends/target/pythonmodule-pycryptodome/Makefile index 6adbea17c8..0a05f5965b 100644 --- a/tools/depends/target/pythonmodule-pycryptodome/Makefile +++ b/tools/depends/target/pythonmodule-pycryptodome/Makefile @@ -35,7 +35,7 @@ endif 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); patch -p1 -i ../01-nosetuptool.patch diff --git a/tools/depends/target/pythonmodule-setuptools/Makefile b/tools/depends/target/pythonmodule-setuptools/Makefile index 9a9992f643..493968fb59 100644 --- a/tools/depends/target/pythonmodule-setuptools/Makefile +++ b/tools/depends/target/pythonmodule-setuptools/Makefile @@ -5,7 +5,7 @@ LIBDYLIB=$(PLATFORM)/dist/$(LIBNAME)-$(VERSION)-py$(PYTHON_VERSION).egg 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) diff --git a/tools/depends/target/rapidjson/Makefile b/tools/depends/target/rapidjson/Makefile index 050f7eebc6..bfa5b7be74 100644 --- a/tools/depends/target/rapidjson/Makefile +++ b/tools/depends/target/rapidjson/Makefile @@ -32,7 +32,7 @@ include ../../download-files.include all: .installed-$(PLATFORM) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) ifeq ($(PREFIX),) @echo @echo "ERROR: please set PREFIX to the kodi install path e.g. $(MAKE) PREFIX=/usr/local" diff --git a/tools/depends/target/samba-gplv3/Makefile b/tools/depends/target/samba-gplv3/Makefile index 1f59cfd73d..c4fa961a14 100644 --- a/tools/depends/target/samba-gplv3/Makefile +++ b/tools/depends/target/samba-gplv3/Makefile @@ -60,7 +60,7 @@ export PKG_CONFIG_LIBDIR=$(PREFIX)/lib/pkgconfig 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); patch -p1 -i ../01-fix-dependencies.patch diff --git a/tools/depends/target/samba/Makefile b/tools/depends/target/samba/Makefile index fd2b770e00..1d7a8213e6 100644 --- a/tools/depends/target/samba/Makefile +++ b/tools/depends/target/samba/Makefile @@ -53,7 +53,7 @@ LIBDYLIB=$(PLATFORM)/source/bin/libsmbclient.a 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); patch -p1 -i ../samba30-3.0.37-configure.in.patch diff --git a/tools/depends/target/spdlog/Makefile b/tools/depends/target/spdlog/Makefile index f2ca418865..457a49715c 100644 --- a/tools/depends/target/spdlog/Makefile +++ b/tools/depends/target/spdlog/Makefile @@ -40,7 +40,7 @@ all: .installed-$(PLATFORM) download: $(TARBALLS_LOCATION)/$(ARCHIVE) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) ifeq ($(PREFIX),) @echo @echo "ERROR: please set PREFIX to the kodi install path e.g. make PREFIX=/usr/local" diff --git a/tools/depends/target/sqlite3/Makefile b/tools/depends/target/sqlite3/Makefile index a09a03a9f8..7f10a37a5c 100644 --- a/tools/depends/target/sqlite3/Makefile +++ b/tools/depends/target/sqlite3/Makefile @@ -13,7 +13,7 @@ LIBDYLIB=$(PLATFORM)/.libs/lib$(LIBNAME)3.a 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) # do not build the program sqlite3 diff --git a/tools/depends/target/taglib/Makefile b/tools/depends/target/taglib/Makefile index febeb86f73..cecebd08ea 100644 --- a/tools/depends/target/taglib/Makefile +++ b/tools/depends/target/taglib/Makefile @@ -5,7 +5,7 @@ DEPS = ../../Makefile.include Makefile TAGLIB-VERSION ../../download-files.inclu LIBDYLIB=$(PLATFORM)/build/$(LIBNAME)/$(BYPRODUCT) 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); rm -rf build; mkdir -p build diff --git a/tools/depends/target/tinyxml/Makefile b/tools/depends/target/tinyxml/Makefile index 38a7b63d3c..ed2989f2c3 100644 --- a/tools/depends/target/tinyxml/Makefile +++ b/tools/depends/target/tinyxml/Makefile @@ -18,7 +18,7 @@ LIBDYLIB=$(PLATFORM)/src/.libs/libtinyxml.a 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) -vif diff --git a/tools/depends/target/udfread/Makefile b/tools/depends/target/udfread/Makefile index 1658a094f9..342cf27f03 100644 --- a/tools/depends/target/udfread/Makefile +++ b/tools/depends/target/udfread/Makefile @@ -22,7 +22,7 @@ LIBDYLIB=$(PLATFORM)/.libs/$(BYPRODUCT) all: .installed-$(PLATFORM) download: $(TARBALLS_LOCATION)/$(ARCHIVE) -$(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) -vif diff --git a/tools/depends/target/wayland-protocols/Makefile b/tools/depends/target/wayland-protocols/Makefile index 97374ef89b..c10d7a20dd 100644 --- a/tools/depends/target/wayland-protocols/Makefile +++ b/tools/depends/target/wayland-protocols/Makefile @@ -28,7 +28,7 @@ CONFIGURE=./configure --prefix=$(PREFIX) all: .installed-$(PLATFORM) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) ifeq ($(PREFIX),) @echo @echo "ERROR: please set PREFIX to the kodi install path e.g. make PREFIX=/usr/local" diff --git a/tools/depends/target/wayland/Makefile b/tools/depends/target/wayland/Makefile index e4950ff2e9..5df950191c 100644 --- a/tools/depends/target/wayland/Makefile +++ b/tools/depends/target/wayland/Makefile @@ -17,7 +17,7 @@ LIBDYLIB=$(PLATFORM)/.libs/libwayland-client.la 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) diff --git a/tools/depends/target/waylandpp/Makefile b/tools/depends/target/waylandpp/Makefile index c7e264c0aa..45f86614e4 100644 --- a/tools/depends/target/waylandpp/Makefile +++ b/tools/depends/target/waylandpp/Makefile @@ -33,7 +33,7 @@ BUILDDIR = $(PLATFORM)/build all: .installed-$(PLATFORM) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) +$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) ifeq ($(PREFIX),) @echo @echo "ERROR: please set PREFIX to the kodi install path e.g. make PREFIX=/usr/local" diff --git a/tools/depends/target/xz/Makefile b/tools/depends/target/xz/Makefile index 95e46b51ad..d862ffe76b 100644 --- a/tools/depends/target/xz/Makefile +++ b/tools/depends/target/xz/Makefile @@ -8,7 +8,7 @@ LIBDYLIB=$(PLATFORM)/src/liblzma/liblzma.a 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) diff --git a/tools/depends/target/zlib/Makefile b/tools/depends/target/zlib/Makefile index b7f6d41e6e..29aa75c00f 100644 --- a/tools/depends/target/zlib/Makefile +++ b/tools/depends/target/zlib/Makefile @@ -11,7 +11,7 @@ LIBDYLIB=$(PLATFORM)/build/$(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); patch -p1 -i ../01-all-disable_tests.patch |