From 073f0265fa66829d9b35148bd73ebac389021a15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Eduard=20Vintil=C4=83?= Date: Sat, 15 Jul 2023 15:19:11 +0300 Subject: [PATCH] Makefile.uk: Fix build-time infinite loop MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This commit removes the dependency on the $(UK_CONFIG_OUT) file, which is not necessary for `lib-click` to build and actually causes an infinite loop in the build process. Signed-off-by: Eduard Vintilă Reviewed-by: Stefan Jumarea Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #6 --- Makefile.uk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.uk b/Makefile.uk index 8096549..5de6560 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -80,7 +80,7 @@ $(LIBCLICK_BUILD)/.configured: $(LIBCLICK_BUILD)/.cpfromtodevs $(TOUCH) $@) # Generate element build rules using click-buildtool -$(LIBCLICK_BUILD)/.elementsmk: $(LIBCLICK_BUILD)/.configured $(UK_CONFIG_OUT) +$(LIBCLICK_BUILD)/.elementsmk: $(LIBCLICK_BUILD)/.configured $(call verbose_cmd,ELEMMK,libclick: $(notdir $@),\ cd $(LIBCLICK_ELEMENTS_DIR) && echo "$(LIBCLICK_FILTERED_ELEM_DIRS)" | $(LIBCLICK_BUILDTOOL) findelem -r unikraft -X $(LIBCLICK_BUILD)/elements.exclude | grep -E "^[^#]" | awk '{print "LIBCLICK_SRCS-y += $$(LIBCLICK_EXTRACTED)/elements/" $$1}' > $@) -- 2.39.5