diff options
author | C. Sean Young <csyoung@google.com> | 2015-06-09 12:35:45 -0500 |
---|---|---|
committer | C. Sean Young <csyoung@google.com> | 2015-06-10 13:00:13 -0500 |
commit | cf4699895ad99b83a24e376007750e2c2c0502f6 (patch) | |
tree | 46499f5383c74c2d89a1ead85e42340788f30604 /core/config.mk | |
parent | 58b3ee286363ee37f8f0bb84f6acefaf96102fef (diff) | |
download | build-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/config.mk')
-rw-r--r-- | core/config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/config.mk b/core/config.mk index bfa5610..e6a6812 100644 --- a/core/config.mk +++ b/core/config.mk @@ -150,6 +150,10 @@ endif # are specific to the user's build configuration. 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) + # The build system exposes several variables for where to find the kernel # headers: # TARGET_DEVICE_KERNEL_HEADERS is automatically created for the current |