summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-01-29 21:46:58 -0800
committerBill Richardson <wfrichar@chromium.org>2015-01-31 00:41:10 +0000
commit8db64da0926e95c4cc19145e911aa270e06a83c0 (patch)
treeea3f12c566a3dfc242be246711d8d55444dc4f64
parente1ed0ab45c96c94e0f00971ee3d6b23d071abd4d (diff)
downloadvboot-8db64da0926e95c4cc19145e911aa270e06a83c0.tar.gz
Don't include lib20 files in xrefs
The vboot 2.0 stuff is deprecated, so let's not index that when building cross-references (cscope.files and TAGS). BUG=none BRANCH=ToT TEST=manual make xrefs Change-Id: If3a9c42f869308acd929e32d5290e3354f5c3555 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/244751 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 69ab4920..3a2f8369 100644
--- a/Makefile
+++ b/Makefile
@@ -1378,9 +1378,11 @@ TEST_DEPS += ${TEST_OBJS:%.o=%.o.d}
# paths inside and outside the chroot are different.
SRCDIRPAT=$(subst /,\/,${SRCDIR}/)
+# Note: vboot 2.0 is deprecated, so don't index those files
${BUILD}/cscope.files: test_setup
${Q}rm -f $@
${Q}cat ${ALL_DEPS} | tr -d ':\\' | tr ' ' '\012' | \
+ grep -v /lib20/ | \
sed -e "s/${SRCDIRPAT}//" | \
egrep '\.[chS]$$' | sort | uniq > $@