Makefile: Minor cscope fixups
authorAlexandre Raymond <cerbere@gmail.com>
Thu, 21 Jul 2011 03:12:15 +0000 (23:12 -0400)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 27 Jul 2011 09:09:56 +0000 (10:09 +0100)
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>
Makefile

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