This script has no reference to ${ARCH}, ${src}, ${obj}.
Unified · Split
| @@ -6,7 +6,7 @@ · 5 unmodified lines | |||
| 6 | # mode may be any of: tags, TAGS, cscope | 6 | # mode may be any of: tags, TAGS, cscope |
| 7 | # | 7 | # |
| 8 | # Uses the following environment variables: | 8 | # Uses the following environment variables: |
| 9 | # ARCH, SUBARCH, SRCARCH, srctree, src, obj | 9 | # SUBARCH, SRCARCH, srctree |
| 10 | 10 | ||
| 11 | if [ "$KBUILD_VERBOSE" = "1" ]; then | 11 | if [ "$KBUILD_VERBOSE" = "1" ]; then |
| 12 | set -x | 12 | set -x |
| @@ -36,7 +36,7 @@ elif [ "${ALLSOURCE_ARCHS}" = "all" ]; then · 23 unmodified lines | |||
| 36 | ALLSOURCE_ARCHS=$(find ${tree}arch/ -mindepth 1 -maxdepth 1 -type d -printf '%f ') | 36 | ALLSOURCE_ARCHS=$(find ${tree}arch/ -mindepth 1 -maxdepth 1 -type d -printf '%f ') |
| 37 | fi | 37 | fi |
| 38 | 38 | ||
| 39 | # find sources in arch/$ARCH | 39 | # find sources in arch/$1 |
| 40 | find_arch_sources() | 40 | find_arch_sources() |
| 41 | { | 41 | { |
| 42 | for i in $archincludedir; do | 42 | for i in $archincludedir; do |