From patchwork Wed Feb 11 21:24:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 6724 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n1BLOFhf032228 for ; Wed, 11 Feb 2009 21:24:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757134AbZBKVYP (ORCPT ); Wed, 11 Feb 2009 16:24:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757187AbZBKVYP (ORCPT ); Wed, 11 Feb 2009 16:24:15 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:42252 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757134AbZBKVYO (ORCPT ); Wed, 11 Feb 2009 16:24:14 -0500 Received: from imap1.linux-foundation.org (imap1.linux-foundation.org [140.211.169.55]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id n1BLO954020596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Feb 2009 13:24:11 -0800 Received: from localhost.localdomain (localhost [127.0.0.1]) by imap1.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id n1BLO9qK027146; Wed, 11 Feb 2009 13:24:09 -0800 Message-Id: <200902112124.n1BLO9qK027146@imap1.linux-foundation.org> Subject: [patch 1/1] tags: fix config symbols generation To: sam@ravnborg.org Cc: linux-kbuild@vger.kernel.org, akpm@linux-foundation.org, adobriyan@gmail.com From: akpm@linux-foundation.org Date: Wed, 11 Feb 2009 13:24:09 -0800 X-Spam-Status: No, hits=-3.441 required=5 tests=AWL, BAYES_00, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.13 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org From: Alexey Dobriyan commit 4f628248a578585472e19e4cba2c604643af8c6c aka "kbuild: reintroduce ALLSOURCE_ARCHS support for tags/cscope" breaks tags generation for Kconfig symbols. Steps to reproduce: make tags vi -t PROC_FS It should jump to 'config PROC_FS' line. Signed-off-by: Alexey Dobriyan Cc: Sam Ravnborg Signed-off-by: Andrew Morton --- scripts/tags.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff -puN scripts/tags.sh~tags-fix-config-symbols-generation scripts/tags.sh --- a/scripts/tags.sh~tags-fix-config-symbols-generation +++ a/scripts/tags.sh @@ -76,7 +76,10 @@ all_sources() all_kconfigs() { - find_sources $ALLSOURCE_ARCHS 'Kconfig*' + for arch in $ALLSOURCE_ARCHS; do + find_sources $arch 'Kconfig*' + done + find_other_sources 'Kconfig*' } all_defconfigs()