Commit a8bac511c8c18878908eb49f33f7257610b15180
1 parent
e8d400a933
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
scripts/tags.sh
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 | # mode may be any of: tags, TAGS, cscope |
6 | 6 | # |
7 | 7 | # Uses the following environment variables: |
8 | -# ARCH, SUBARCH, srctree, src, obj | |
8 | +# ARCH, SUBARCH, SRCARCH, srctree, src, obj | |
9 | 9 | |
10 | 10 | if [ "$KBUILD_VERBOSE" = "1" ]; then |
11 | 11 | set -x |
... | ... | @@ -70,7 +70,7 @@ |
70 | 70 | |
71 | 71 | all_sources() |
72 | 72 | { |
73 | - find_arch_include_sources ${ARCH} '*.[chS]' | |
73 | + find_arch_include_sources ${SRCARCH} '*.[chS]' | |
74 | 74 | if [ ! -z "$archinclude" ]; then |
75 | 75 | find_arch_include_sources $archinclude '*.[chS]' |
76 | 76 | fi |