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)