]> xenbits.xensource.com Git - unikraft/libs/musl.git/commitdiff
Makefile.uk: make 'version.h' depend on fetch.
authorUlrich Meis <Ulrich.Meis@opensynergy.com>
Wed, 31 Aug 2022 11:38:14 +0000 (13:38 +0200)
committerUnikraft <monkey@unikraft.io>
Thu, 24 Nov 2022 19:42:25 +0000 (19:42 +0000)
This becomes necessary when running 'make -jN'.

Signed-off-by: Ulrich Meis <Ulrich.Meis@opensynergy.com>
Reviewed-by: Sergiu Moga <sergiu.moga@protonmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #15

Makefile.uk

index e8f28132e100d30dbcb7861a2530915ccf9d25b2..16de24c91e82150214b6dcdc1b6931f9d6b6e406 100644 (file)
@@ -92,7 +92,7 @@ $(LIBMUSL)/arch/$(MUSL_ARCH)/bits/alltypes.h: $(LIBMUSL_BUILD)/.patched
                $(TOUCH) $@)
 
 # generate version.h
-$(LIBMUSL)/src/internal/version.h:
+$(LIBMUSL)/src/internal/version.h: fetch
        $(call verbose_cmd,CONFIGURE,libmusl: $(notdir $@),\
                printf '#define VERSION "%s"\n' "$$(cd $(LIBMUSL); sh tools/version.sh)" > $@ && \
                $(TOUCH) $@)