From 4da593286fcaedb92bb9c7ad1b3b9e56f21ba511 Mon Sep 17 00:00:00 2001 From: Marco Schlumpp Date: Tue, 18 Apr 2023 14:53:56 +0200 Subject: [PATCH] Fix dependency on fetch step MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Because `fetch` was not really a file, make always tried to remake the version file. Therefore, it also needed to recompile the file as the mtime of the version file was updated. Signed-off-by: Marco Schlumpp Reviewed-by: Eduard Vintilă Reviewed-by: Sergiu Moga Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #41 --- Makefile.uk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.uk b/Makefile.uk index 3796ac8..e419fea 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -109,7 +109,7 @@ $(LIBMUSL)/arch/$(MUSL_ARCH)/bits/alltypes.h: $(LIBMUSL_BUILD)/.patched $(TOUCH) $@) # generate version.h -$(LIBMUSL)/src/internal/version.h: fetch +$(LIBMUSL)/src/internal/version.h: $(LIBMUSL_BUILD)/.origin $(call verbose_cmd,CONFIGURE,libmusl: $(notdir $@),\ printf '#define VERSION "%s"\n' "$$(cd $(LIBMUSL); sh tools/version.sh)" > $@ && \ $(TOUCH) $@) -- 2.39.5