[U-Boot-Users] Patch to build csope database in the makefile for u-boot-1.1.3

atul.sabharwal at exgate.tek.com atul.sabharwal at exgate.tek.com
Fri Oct 21 19:09:21 CEST 2005


Re-submit. Accessing the file over a Samba share even after UNIX to DOS
conversion corrupted the file.  Patch tested against latest cscope from
Sourceforge.  (had some problem with clipboard or file transfer over 
SAMBA.  Ftp transfer worked. Also, cut-N-paste between edit and Outlook
Did not work. Opening file with notepad and past worked.).

--- u-boot-1.1.3/Makefile	2005-10-19 18:04:22.000000000 -0700
+++ Makefile	2005-10-21 09:51:53.000000000 -0700
@@ -193,6 +193,10 @@
 				net disk rtc dtt drivers drivers/sk98lin
common \
 			\( -name CVS -prune \) -o \( -name '*.[ch]' -print
\)`
 
+cscope:
+		find . -name "*.[cCsSh]" -print > cscope.files
+		cscope -b -R -u -q
+
 System.map:	u-boot
 		$(NM) -A -l $< | \
 		grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw]
\)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \




More information about the U-Boot mailing list