
19 Feb
2006
19 Feb
'06
9:47 p.m.
In message 20060219150640.GA3310@aquarius you wrote:
the following patch adds target 'cscope' to the main makefile. it also puts the list of directories with source files and the arguments to `find' into make variables.
On second look, I think this patch needs some more work:
+# Directories with files for tag generation +TAGDIRS := $(SUBDIRS) include lib_generic board/$(BOARDDIR) cpu/$(CPU)\
- lib_$(ARCH) fs/cramfs fs/fat fs/fdos fs/jffs2 net disk rtc dtt drivers\
- drivers/sk98lin common
This doesn't look complete to me - for example, how about post/ ?
+# Arguments to `find' when generating a list of files for tag generation +TAGFINDARGS := ( -name CVS -prune ) -o ( -name '*.[ch]' -print )
You should probably also exclude .git directories here, just in case.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"Those who will be able to conquer software will be able to conquer
the world." - Tadahiro Sekimoto, president, NEC Corp.