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

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)' | \

Hi,
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)' | \
As stated in my other mail, I do not like that target picking up every source file - think of the function "checkboard" for example.
But apart from this the "clobber" rule of the Makefile should at least be extended to also clean up the cscope files.
Cheers Detlev
participants (2)
-
atul.sabharwal@exgate.tek.com
-
Detlev Zundel