From: Eduard Vintilă Date: Sat, 15 Jul 2023 12:19:11 +0000 (+0300) Subject: Makefile.uk: Fix build-time infinite loop X-Git-Tag: RELEASE-0.15.0~7 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=073f0265fa66829d9b35148bd73ebac389021a15;p=unikraft%2Flibs%2Fclick.git Makefile.uk: Fix build-time infinite loop 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 --- 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}' > $@)