aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index c1220419e59d..9f459536f289 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -5,7 +5,7 @@
5# mode may be any of: tags, TAGS, cscope 5# mode may be any of: tags, TAGS, cscope
6# 6#
7# Uses the following environment variables: 7# Uses the following environment variables:
8# ARCH, SUBARCH, srctree, src, obj 8# ARCH, SUBARCH, SRCARCH, srctree, src, obj
9 9
10if [ "$KBUILD_VERBOSE" = "1" ]; then 10if [ "$KBUILD_VERBOSE" = "1" ]; then
11 set -x 11 set -x
@@ -70,7 +70,7 @@ find_sources()
70 70
71all_sources() 71all_sources()
72{ 72{
73 find_arch_include_sources ${ARCH} '*.[chS]' 73 find_arch_include_sources ${SRCARCH} '*.[chS]'
74 if [ ! -z "$archinclude" ]; then 74 if [ ! -z "$archinclude" ]; then
75 find_arch_include_sources $archinclude '*.[chS]' 75 find_arch_include_sources $archinclude '*.[chS]'
76 fi 76 fi