Skip to content

Commit

Permalink
cscope: do not exclude generated files
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Jens Wiklander <[email protected]>
  • Loading branch information
jforissier committed Jan 8, 2019
1 parent 100a01d commit c9727be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9727be

Please sign in to comment.