Merge "Fix empty mac .toc generation"
diff --git a/core/config.mk b/core/config.mk
index e79a28e..bab31b7 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -148,7 +148,7 @@
# 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)
+FIND_LEAVES_EXCLUDES := $(addprefix --prune=, $(SCAN_EXCLUDE_DIRS) .repo .git)
# The build system exposes several variables for where to find the kernel
# headers: