[U-Boot-Users] Re: Patch to build csope database in the makefile for u-boot-1.1.3
Detlev Zundel
dzu at denx.de
Mon Oct 24 11:16:50 CEST 2005
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
--
I had nothing to do with implementing Gosmacs. It was inspired
by the original Emacs, but that's all. I would never have agreed
to use a language like Mocklisp.
-- Richard Stallman in <E1CUySS-00048D-RN at fencepost.gnu.org>
More information about the U-Boot
mailing list