summaryrefslogtreecommitdiffstats
path: root/core/cleanspec.mk
diff options
context:
space:
mode:
authorC. Sean Young <csyoung@google.com>2015-06-09 12:35:45 -0500
committerC. Sean Young <csyoung@google.com>2015-06-10 13:00:13 -0500
commitcf4699895ad99b83a24e376007750e2c2c0502f6 (patch)
tree46499f5383c74c2d89a1ead85e42340788f30604 /core/cleanspec.mk
parent58b3ee286363ee37f8f0bb84f6acefaf96102fef (diff)
downloadbuild-cf4699895ad99b83a24e376007750e2c2c0502f6.zip
build-cf4699895ad99b83a24e376007750e2c2c0502f6.tar.gz
build-cf4699895ad99b83a24e376007750e2c2c0502f6.tar.bz2
Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
These directories are excluded in addition to OUT_DIR. This can be useful if your build system has other output directories beyond what OUT_DIR is set to. Change-Id: I6d98a85bcc8c89279e939406a7fec32547e8922f
Diffstat (limited to 'core/cleanspec.mk')
-rw-r--r--core/cleanspec.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cleanspec.mk b/core/cleanspec.mk
index 500ce54..4441e2a 100644
--- a/core/cleanspec.mk
+++ b/core/cleanspec.mk
@@ -64,6 +64,6 @@ INTERNAL_CLEAN_BUILD_VERSION := 6
# ************************************************
subdir_cleanspecs := \
- $(shell build/tools/findleaves.py --prune=$(OUT_DIR) --prune=.repo --prune=.git . CleanSpec.mk)
+ $(shell build/tools/findleaves.py $(FIND_LEAVES_EXCLUDES) . CleanSpec.mk)
include $(subdir_cleanspecs)
subdir_cleanspecs :=