aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Raymond <cerbere@gmail.com>2011-07-20 23:12:15 -0400
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-07-27 10:09:56 +0100
commit45b75ae4ee19a74c826a94e073762b5c7080a90c (patch)
tree8fb84de6d385ed6de1ed15a84c419ef7ef515969
parent023367e6cd41199521613674b44e9c703c8be1a1 (diff)
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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index daa3aa09b5..eb1c788d35 100644
--- 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