[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAS=zPm6XxoUK=CQAiX6_0DbGtWY=kLG5nDQCPtfV36rQg@mail.gmail.com>
Date: Tue, 22 Feb 2022 12:06:13 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Jialu Xu <xujialu@...ux.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Jonathan Corbet <corbet@....net>, rkovhaev@...il.com
Subject: Re: [PATCH] scripts/tags.sh: parse *.dts.tmp for compiled sources
On Mon, Feb 21, 2022 at 5:46 PM Jialu Xu <xujialu@...ux.org> wrote:
>
> There are files listed in *.dts.tmp, parse them as *.cmd for compiled sources.
>
> Signed-off-by: Jialu Xu <xujialu@...ux.org>
> ---
Why?
> 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
>
>
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists