qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH] Makefile: Minor cscope fixups


From: Alexandre Raymond
Subject: [Qemu-trivial] [PATCH] Makefile: Minor cscope fixups
Date: Tue, 19 Jul 2011 23:41:55 -0400

-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 <address@hidden>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index b3ffbe2..4273b6f 100644
--- a/Makefile
+++ b/Makefile
@@ -254,7 +254,7 @@ TAGS:
 
 cscope:
        rm -f ./cscope.*
-       find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files
+       find $$PWD -name "*.[chsS]" -print | sed 's,^\./,,' > ./cscope.files
        cscope -b
 
 # documentation
-- 
1.7.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]