Makefile: Minor cscope fixups

Create cscope symbols for assembly files in addition to .c/.h files.
Create cscope database with full path instead of relative path so cscope
can be used with CSCOPE_DB in any directory.

Signed-off-by: Alexandre Raymond <cerbere@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
Alexandre Raymond 2011-07-20 23:12:15 -04:00 committed by Stefan Hajnoczi
parent 023367e6cd
commit 45b75ae4ee

View File

@ -291,7 +291,7 @@ TAGS:
cscope: cscope:
rm -f ./cscope.* rm -f ./cscope.*
find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files find "$(SRC_PATH)" -name "*.[chsS]" -print | sed 's,^\./,,' > ./cscope.files
cscope -b cscope -b
# documentation # documentation