aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2019-01-08 16:08:05 +0100
committerJérôme Forissier <jerome.forissier@linaro.org>2019-01-08 19:18:28 +0100
commitc9727be6301351e502a3079145778e5edb235b16 (patch)
tree2c7ecd513e4df43eeed1c2397deb98bd9e5ef3c6
parent100a01d5ab7daf2b7bdc1bc064954aa68a434984 (diff)
cscope: do not exclude generated files
The build directory contains some generated source files, such as include/generated/conf.h, core/include/generated/arm32_sysreg.{h,S} and core/include/generated/asm-defines.h. Let cscope parse them and only exclude the files that are copied into the export-ta_* directories (TA dev kit). Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7cad3a9b..7ab5f12c 100644
--- a/Makefile
+++ b/Makefile
@@ -105,7 +105,7 @@ clean:
cscope:
@echo ' CSCOPE .'
${q}rm -f cscope.*
- ${q}find $(PWD) -name "*.[chSs]" | grep -v "$(PWD)/out" > cscope.files
+ ${q}find $(PWD) -name "*.[chSs]" | grep -v export-ta_ > cscope.files
${q}cscope -b -q -k
.PHONY: checkpatch checkpatch-staging checkpatch-working