]> xenbits.xensource.com Git - unikraft/libs/click.git/commitdiff
Makefile.uk: Fix build-time infinite loop
authorEduard Vintilă <eduard.vintila47@gmail.com>
Sat, 15 Jul 2023 12:19:11 +0000 (15:19 +0300)
committerUnikraft <monkey@unikraft.io>
Sat, 9 Sep 2023 09:57:38 +0000 (09:57 +0000)
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ă <eduard.vintila47@gmail.com>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #6

Makefile.uk

index 8096549f6fea36dcc405cf8430a3e5a8d5fd8384..5de6560fcf570039d3295532e29772488fe7df9c 100644 (file)
@@ -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}' > $@)