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

Signed-off-by: AndreiGrozav <andrei.grozav@analog.com>
main
AndreiGrozav 2024-01-18 16:34:17 +02:00 committed by AndreiGrozav
parent d300b9c55c
commit b6e2a997c1
1 changed files with 4 additions and 2 deletions

View File

@ -89,9 +89,11 @@ clean:
$(HL)$(PROJECT_NAME)$(NC) project) $(HL)$(PROJECT_NAME)$(NC) project)
-rm -Rf ${DIR_NAME} -rm -Rf ${DIR_NAME}
clean-all: TARGET:=clean clean-all: clean
clean-all: clean $(M_DEPS)
@rm -Rf $(CLEAN_DIRS) @rm -Rf $(CLEAN_DIRS)
@for lib in $(LIB_DEPS); do \
$(MAKE) -C $(HDL_LIBRARY_PATH)$${lib} clean; \
done
MODE ?= "default" MODE ?= "default"