[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220221084614.1682022-1-xujialu@vimux.org>
Date: Mon, 21 Feb 2022 16:46:14 +0800
From: Jialu Xu <xujialu@...ux.org>
To: gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, masahiroy@...nel.org,
akpm@...ux-foundation.org, corbet@....net, rkovhaev@...il.com,
Jialu Xu <xujialu@...ux.org>
Subject: [PATCH] scripts/tags.sh: parse *.dts.tmp for compiled sources
There are files listed in *.dts.tmp, parse them as *.cmd for compiled sources.
Signed-off-by: Jialu Xu <xujialu@...ux.org>
---
scripts/tags.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 16d475b3e203..f64c33f4dabf 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -97,8 +97,8 @@ all_compiled_sources()
{
realpath -es $([ -z "$KBUILD_ABS_SRCTREE" ] && echo --relative-to=.) \
include/generated/autoconf.h $(find $ignore -name "*.cmd" -exec \
- grep -Poh '(?(?=^source_.* \K).*|(?=^ \K\S).*(?= \\))' {} \+ |
- awk '!a[$0]++') | sort -u
+ grep -Poh '(?(?=^source_.* \K).*|(?=^ \K\S).*(?= \\))' {} \+ | awk '!a[$0]++') \
+ $(find -name "*.dts.tmp" -exec grep -Poh '(?(?=^# \d+ "\K).*(?="))' {} \+) | sort -u
}
all_target_sources()
--
2.30.2
Powered by blists - more mailing lists