projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
script: improve markup_oops.pl to also decode oopses in modules
[firefly-linux-kernel-4.4.55.git]
/
scripts
/
tags.sh
diff --git
a/scripts/tags.sh
b/scripts/tags.sh
index 9e3451d2c3a1d608b401c01685b841df02ae0550..fdbe78bb5e2b6ad8359aeabb26b0fcf98af44957 100755
(executable)
--- a/
scripts/tags.sh
+++ b/
scripts/tags.sh
@@
-24,6
+24,11
@@
else
tree=${srctree}/
fi
tree=${srctree}/
fi
+# Detect if ALLSOURCE_ARCHS is set. If not, we assume SRCARCH
+if [ "${ALLSOURCE_ARCHS}" = "" ]; then
+ ALLSOURCE_ARCHS=${SRCARCH}
+fi
+
# find sources in arch/$ARCH
find_arch_sources()
{
# find sources in arch/$ARCH
find_arch_sources()
{
@@
-54,26
+59,29
@@
find_other_sources()
find_sources()
{
find_arch_sources $1 "$2"
find_sources()
{
find_arch_sources $1 "$2"
- find_include_sources "$2"
- find_other_sources "$2"
}
all_sources()
{
}
all_sources()
{
- find_sources $SRCARCH '*.[chS]'
+ for arch in $ALLSOURCE_ARCHS
+ do
+ find_sources $arch '*.[chS]'
+ done
if [ ! -z "$archinclude" ]; then
find_arch_include_sources $archinclude '*.[chS]'
fi
if [ ! -z "$archinclude" ]; then
find_arch_include_sources $archinclude '*.[chS]'
fi
+ find_include_sources '*.[chS]'
+ find_other_sources '*.[chS]'
}
all_kconfigs()
{
}
all_kconfigs()
{
- find_sources $
SRCARCH
'Kconfig*'
+ find_sources $
ALLSOURCE_ARCHS
'Kconfig*'
}
all_defconfigs()
{
}
all_defconfigs()
{
- find_sources $
SRCARCH
"defconfig"
+ find_sources $
ALLSOURCE_ARCHS
"defconfig"
}
docscope()
}
docscope()