qemu-trivial
[Top][All Lists]
Advanced

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

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


From: Alexandre Raymond
Subject: [Qemu-trivial] [PATCH v2] Makefile: Minor cscope fixups
Date: Wed, 20 Jul 2011 23:12:15 -0400

Changes since v1:
-Use SRC_PATH instead of PWD

-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..fbdaecc 100644
--- a/Makefile
+++ b/Makefile
@@ -254,7 +254,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
-- 
1.7.5




reply via email to

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