From: Li Yang Date: Wed, 27 Feb 2008 18:59:48 +0800 Subject: [U-Boot-Users] [PATCH] add cscope build target Message-ID: <1204109988-6752-1-git-send-email-leoli@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add cscope build target to generate cscope database for code browsing. Signed-off-by: Li Yang --- 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