scripts:project_intel.mk: Fix make clean-all target

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
main
Jorge Marques 2024-01-18 12:15:59 -03:00 committed by AndreiGrozav
parent b8fef86cc3
commit 231632e8ca
1 changed files with 4 additions and 2 deletions

View File

@ -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)