scripts/tags.sh: remove find_sources
After commit '4f628248a578 kbuild: reintroduce ALLSOURCE_ARCHS support for tags/cscope', find_sources only invoke find_arch_sources. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> CC: Jike Song <albcamus@gmail.com> Link: https://lore.kernel.org/r/20231229030654.17474-4-richard.weiyang@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d70a091fb4
commit
2ad3cc0582
@ -81,11 +81,6 @@ find_other_sources()
|
|||||||
-name "$1" -not -type l -print;
|
-name "$1" -not -type l -print;
|
||||||
}
|
}
|
||||||
|
|
||||||
find_sources()
|
|
||||||
{
|
|
||||||
find_arch_sources $1 "$2"
|
|
||||||
}
|
|
||||||
|
|
||||||
all_sources()
|
all_sources()
|
||||||
{
|
{
|
||||||
find_arch_include_sources ${SRCARCH} '*.[chS]'
|
find_arch_include_sources ${SRCARCH} '*.[chS]'
|
||||||
@ -95,7 +90,7 @@ all_sources()
|
|||||||
find_include_sources '*.[chS]'
|
find_include_sources '*.[chS]'
|
||||||
for arch in $ALLSOURCE_ARCHS
|
for arch in $ALLSOURCE_ARCHS
|
||||||
do
|
do
|
||||||
find_sources $arch '*.[chS]'
|
find_arch_sources $arch '*.[chS]'
|
||||||
done
|
done
|
||||||
find_other_sources '*.[chS]'
|
find_other_sources '*.[chS]'
|
||||||
}
|
}
|
||||||
@ -125,7 +120,7 @@ all_kconfigs()
|
|||||||
find ${tree}arch/ -maxdepth 1 $ignore \
|
find ${tree}arch/ -maxdepth 1 $ignore \
|
||||||
-name "Kconfig*" -not -type l -print;
|
-name "Kconfig*" -not -type l -print;
|
||||||
for arch in $ALLSOURCE_ARCHS; do
|
for arch in $ALLSOURCE_ARCHS; do
|
||||||
find_sources $arch 'Kconfig*'
|
find_arch_sources $arch 'Kconfig*'
|
||||||
done
|
done
|
||||||
find_other_sources 'Kconfig*'
|
find_other_sources 'Kconfig*'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user