summaryrefslogtreecommitdiffstats
path: root/core/envsetup.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/envsetup.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/envsetup.mk')
-rw-r--r--core/envsetup.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/envsetup.mk b/core/envsetup.mk
index ad78be3..ba67737 100644
--- a/core/envsetup.mk
+++ b/core/envsetup.mk
@@ -5,6 +5,11 @@
# the bottom for the full list
# OUT_DIR is also set to "out" if it's not already set.
# this allows you to set it to somewhere else if you like
+# SCAN_EXCLUDE_DIRS is an optional, whitespace separated list of
+# directories that will also be excluded from full checkout tree
+# searches for source or make files, in addition to OUT_DIR.
+# This can be useful if you set OUT_DIR to be a different directory
+# than other outputs of your build system.
# Set up version information.
include $(BUILD_SYSTEM)/version_defaults.mk