tags: Use $SRCARCH

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, June 1, 2010 - 9:59 am

Gitweb:     http://git.kernel.org/linus/a8bac511c8c18878908eb49f33f7257610b15180
Commit:     a8bac511c8c18878908eb49f33f7257610b15180
Parent:     e8d400a933fa44e2fba3849b084e1ae5814d7fca
Author:     Michal Marek <mmarek@suse.cz>
AuthorDate: Fri Feb 19 16:18:41 2010 +0100
Committer:  Michal Marek <mmarek@suse.cz>
CommitDate: Mon Feb 22 11:23:23 2010 +0100

    tags: Use $SRCARCH
    
    $ make mrproper
    $ make tags
      GEN     tags
      find: `arch/x86_64/': No such file or directory
    
    Caused by commit f81b1be (tags: include headers before source files)
    
    Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 scripts/tags.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/tags.sh b/scripts/tags.sh
index c122041..9f45953 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -5,7 +5,7 @@
 # mode may be any of: tags, TAGS, cscope
 #
 # Uses the following environment variables:
-# ARCH, SUBARCH, srctree, src, obj
+# ARCH, SUBARCH, SRCARCH, srctree, src, obj
 
 if [ "$KBUILD_VERBOSE" = "1" ]; then
 	set -x
@@ -70,7 +70,7 @@ find_sources()
 
 all_sources()
 {
-	find_arch_include_sources ${ARCH} '*.[chS]'
+	find_arch_include_sources ${SRCARCH} '*.[chS]'
 	if [ ! -z "$archinclude" ]; then
 		find_arch_include_sources $archinclude '*.[chS]'
 	fi
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
tags: Use $SRCARCH, Linux Kernel Mailing ..., (Tue Jun 1, 9:59 am)