From 231632e8cab7632bee3f03e3dc1608a8a412e85a Mon Sep 17 00:00:00 2001 From: Jorge Marques Date: Thu, 18 Jan 2024 12:15:59 -0300 Subject: [PATCH] scripts:project_intel.mk: Fix make clean-all target Signed-off-by: Jorge Marques --- projects/scripts/project-intel.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/scripts/project-intel.mk b/projects/scripts/project-intel.mk index 6e353ed04..15027ce4a 100644 --- a/projects/scripts/project-intel.mk +++ b/projects/scripts/project-intel.mk @@ -115,9 +115,11 @@ clean: $(HL)$(PROJECT_NAME)$(NC) project) -rm -Rf ${DIR_NAME} -clean-all: TARGET:=clean -clean-all: clean $(M_DEPS) +clean-all: clean @rm -Rf $(CLEAN_DIRS) + @for lib in $(LIB_DEPS); do \ + $(MAKE) -C $(HDL_LIBRARY_PATH)$${lib} clean; \ + done $(PROJECT_NAME).sof: $(M_DEPS) -rm -rf $(CLEAN_TARGET)