From 8db64da0926e95c4cc19145e911aa270e06a83c0 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Thu, 29 Jan 2015 21:46:58 -0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/244751 Reviewed-by: Randall Spangler --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 69ab4920de..3a2f836925 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 > $@