]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - scripts/tags.sh
tags: Use $SRCARCH
[mv-sheeva.git] / scripts / tags.sh
index c1220419e59d50b9cb105b6c1f8facdd852929c6..9f459536f289a8aaa2ae8c3457a91897312afd26 100755 (executable)
@@ -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