diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-02-19 10:18:41 -0500 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-02-22 05:23:23 -0500 |
| commit | a8bac511c8c18878908eb49f33f7257610b15180 (patch) | |
| tree | 10ab1bd91065a1ff14e40ba5fdb9bd0fc9087802 /scripts | |
| parent | e8d400a933fa44e2fba3849b084e1ae5814d7fca (diff) | |
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>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/tags.sh | 4 |
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 | ||
| 10 | if [ "$KBUILD_VERBOSE" = "1" ]; then | 10 | if [ "$KBUILD_VERBOSE" = "1" ]; then |
| 11 | set -x | 11 | set -x |
| @@ -70,7 +70,7 @@ find_sources() | |||
| 70 | 70 | ||
| 71 | all_sources() | 71 | all_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 |
