Add cscope build target to generate cscope database for code
browsing.

Signed-off-by: Li Yang <[EMAIL PROTECTED]>
---
 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index d6a0299..1efd33e 100644
--- a/Makefile
+++ b/Makefile
@@ -400,6 +400,10 @@ tags ctags:
 etags:
                etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \
                                                -name '*.[ch]' -print`
+cscope:
+               find $(SUBDIRS) $(TAG_SUBDIRS) -name '*.[ch]' -print \
+                                               > cscope.files
+               cscope -b -q -k
 
 $(obj)System.map:      $(obj)u-boot
                @$(NM) $< | \
-- 
1.5.4.rc4


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to