修改
diff --git a/build/core/config.mk b/build/core/config.mk
index 7230128fac..807898861b 100644
--- a/build/core/config.mk
+++ b/build/core/config.mk
@@ -166,7 +166,8 @@ include $(BUILD_SYSTEM)/envsetup.mk
# Pruned directory options used when using findleaves.py
# See envsetup.mk for a description of SCAN_EXCLUDE_DIRS
-FIND_LEAVES_EXCLUDES := $(addprefix --prune=, $(OUT_DIR) $(SCAN_EXCLUDE_DIRS) .repo .git)
+# howard added spon_src user
+FIND_LEAVES_EXCLUDES := $(addprefix --prune=, $(OUT_DIR) $(SCAN_EXCLUDE_DIRS) .repo .git spon_src user)
# The build system exposes several variables for where to find the kernel
# headers: