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
$(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}' > $@)