From patchwork Fri Jul 15 09:24:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horst Kronstorfer X-Patchwork-Id: 104783 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 CF58D1007D1 for ; Fri, 15 Jul 2011 20:27:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 66CAF28103; Fri, 15 Jul 2011 12: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 nbnvogtamUOv; Fri, 15 Jul 2011 12:27:15 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4C3B528105; Fri, 15 Jul 2011 12:27:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 57A9228105 for ; Fri, 15 Jul 2011 12:27:11 +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 ATMF3c0EPEae for ; Fri, 15 Jul 2011 12:27:10 +0200 (CEST) X-Greylist: delayed 3734 seconds by postgrey-1.27 at theia; Fri, 15 Jul 2011 12:27:07 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 (178-190-79-231.adsl.highway.telekom.at [178.190.79.231]) by theia.denx.de (Postfix) with ESMTPS id 941C428103 for ; Fri, 15 Jul 2011 12:27:07 +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 p6F9Og8A007333; Fri, 15 Jul 2011 11:24:42 +0200 Received: (from mabuze@localhost) by m3f4.kronos.net (8.14.5/8.14.5/Submit) id p6F9OgJs007332; Fri, 15 Jul 2011 11:24:42 +0200 From: hkronsto@frequentis.com To: u-boot@lists.denx.de Date: Fri, 15 Jul 2011 11:24:06 +0200 Message-Id: <1310721846-7216-1-git-send-email-hkronsto@frequentis.com> X-Mailer: git-send-email 1.7.6 In-Reply-To: <1310644606-2813-1-git-send-email-hkronsto@frequentis.com> References: <1310644606-2813-1-git-send-email-hkronsto@frequentis.com> Subject: [U-Boot] [PATCH v2] 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 Without telling 'find' to follow symbolic links, files under include/asm and arch/$(ARCH)/include/asm/arch are not added to the indexing file list. Signed-off-by: Horst Kronstorfer Changes for v2: - Apply this change to all source cross-reference targets --- Makefile | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e56fa02..e86a81a 100644 --- a/Makefile +++ b/Makefile @@ -471,15 +471,17 @@ TAG_SUBDIRS = $(SUBDIRS) TAG_SUBDIRS += $(dir $(__LIBS)) TAG_SUBDIRS += include +FIND := find -L + tags ctags: - ctags -w -o $(obj)ctags `find $(TAG_SUBDIRS) \ + ctags -w -o $(obj)ctags `$(FIND) $(TAG_SUBDIRS) \ -name '*.[chS]' -print` etags: - etags -a -o $(obj)etags `find $(TAG_SUBDIRS) \ + etags -a -o $(obj)etags `$(FIND) $(TAG_SUBDIRS) \ -name '*.[chS]' -print` cscope: - find $(TAG_SUBDIRS) -name '*.[chS]' -print > cscope.files + $(FIND) $(TAG_SUBDIRS) -name '*.[chS]' -print > cscope.files cscope -b -q -k SYSTEM_MAP = \