From patchwork Mon Jul 18 11:21:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horst Kronstorfer X-Patchwork-Id: 105250 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 9AB48B6F9F for ; Mon, 18 Jul 2011 21:27:21 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1BCE62809D; Mon, 18 Jul 2011 13:27:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a6c+sbaiJlOg; Mon, 18 Jul 2011 13:27:19 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 54C452809E; Mon, 18 Jul 2011 13:27:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4B6F92809E for ; Mon, 18 Jul 2011 13:27:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id acwNaT-1LuVV for ; Mon, 18 Jul 2011 13:27:13 +0200 (CEST) X-Greylist: delayed 339 seconds by postgrey-1.27 at theia; Mon, 18 Jul 2011 13:27:12 CEST X-policyd-weight: IN_SBL_XBL_SPAMHAUS=4.35 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from m3f4.kronos.net (188-23-88-169.adsl.highway.telekom.at [188.23.88.169]) by theia.denx.de (Postfix) with ESMTPS id 625272809D for ; Mon, 18 Jul 2011 13:27:11 +0200 (CEST) Received: from m3f4.kronos.net (m3f4.kronos.net [127.0.0.1]) by m3f4.kronos.net (8.14.5/8.14.5) with ESMTP id p6IBLPr8030485; Mon, 18 Jul 2011 13:21:26 +0200 Received: (from mabuze@localhost) by m3f4.kronos.net (8.14.5/8.14.5/Submit) id p6IBLPBB030484; Mon, 18 Jul 2011 13:21:25 +0200 From: hkronsto@frequentis.com To: u-boot@lists.denx.de Date: Mon, 18 Jul 2011 13:21:18 +0200 Message-Id: <1310988078-30444-1-git-send-email-hkronsto@frequentis.com> X-Mailer: git-send-email 1.7.6 In-Reply-To: <1310721846-7216-1-git-send-email-hkronsto@frequentis.com> References: <1310721846-7216-1-git-send-email-hkronsto@frequentis.com> Subject: [U-Boot] [PATCH v3] Let source cross-reference targets follow symbolic links X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Horst Kronstorfer Tell 'find' to follow symbolic links, so that files under include/asm and arch/$(ARCH)/include/asm/arch are added to the indexing file list. Signed-off-by: Horst Kronstorfer Acked-by: Detlev Zundel --- Changes for v2: - Apply this change to all source cross-reference targets Changes for v3: - Introduce FINDFLAGS Makefile | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e56fa02..bc51428 100644 --- a/Makefile +++ b/Makefile @@ -471,15 +471,19 @@ TAG_SUBDIRS = $(SUBDIRS) TAG_SUBDIRS += $(dir $(__LIBS)) TAG_SUBDIRS += include +FIND := find +FINDFLAGS := -L + tags ctags: - ctags -w -o $(obj)ctags `find $(TAG_SUBDIRS) \ + ctags -w -o $(obj)ctags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \ -name '*.[chS]' -print` etags: - etags -a -o $(obj)etags `find $(TAG_SUBDIRS) \ + etags -a -o $(obj)etags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \ -name '*.[chS]' -print` cscope: - find $(TAG_SUBDIRS) -name '*.[chS]' -print > cscope.files + $(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) -name '*.[chS]' -print > \ + cscope.files cscope -b -q -k SYSTEM_MAP = \