fix(user): 修复clean ./user时出现参数过长的问题 (#1037)

This commit is contained in:
yuyi2439
2024-11-22 22:49:10 +08:00
committed by GitHub
parent 081428c0d8
commit 23ccf763b6
16 changed files with 0 additions and 353 deletions

View File

@ -1,10 +1,5 @@
user_sub_dirs = apps
SUBDIR_ROOTS := .
DIRS := . $(shell find $(SUBDIR_ROOTS) -type d)
GARBAGE_PATTERNS := *.o *.a
GARBAGE := $(foreach DIR,$(DIRS),$(addprefix $(DIR)/,$(GARBAGE_PATTERNS)))
DADK_VERSION=$(shell dadk -V | awk 'END {print $$2}')
# 最小的DADK版本
MIN_DADK_VERSION = 0.1.11
@ -65,7 +60,6 @@ copy_sysconfig: dadk_run
.PHONY: clean
clean:
rm -rf $(GARBAGE)
$(MAKE) dadk_clean
@list='$(user_sub_dirs)'; for subdir in $$list; do \
echo "Clean in dir: $$subdir";\