* [PATCH] scripts/tags.sh: parse *.dts.tmp for compiled sources
@ 2022-02-21 8:46 Jialu Xu
2022-02-22 3:06 ` Masahiro Yamada
0 siblings, 1 reply; 3+ messages in thread
From: Jialu Xu @ 2022-02-21 8:46 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel, masahiroy, akpm, corbet, rkovhaev, Jialu Xu
There are files listed in *.dts.tmp, parse them as *.cmd for compiled sources.
Signed-off-by: Jialu Xu <xujialu@vimux.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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] scripts/tags.sh: parse *.dts.tmp for compiled sources
2022-02-21 8:46 [PATCH] scripts/tags.sh: parse *.dts.tmp for compiled sources Jialu Xu
@ 2022-02-22 3:06 ` Masahiro Yamada
2022-02-22 7:11 ` Jialu Xu
0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2022-02-22 3:06 UTC (permalink / raw)
To: Jialu Xu
Cc: Greg Kroah-Hartman, Linux Kernel Mailing List, Andrew Morton,
Jonathan Corbet, rkovhaev
On Mon, Feb 21, 2022 at 5:46 PM Jialu Xu <xujialu@vimux.org> wrote:
>
> There are files listed in *.dts.tmp, parse them as *.cmd for compiled sources.
>
> Signed-off-by: Jialu Xu <xujialu@vimux.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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [PATCH] scripts/tags.sh: parse *.dts.tmp for compiled sources
2022-02-22 3:06 ` Masahiro Yamada
@ 2022-02-22 7:11 ` Jialu Xu
0 siblings, 0 replies; 3+ messages in thread
From: Jialu Xu @ 2022-02-22 7:11 UTC (permalink / raw)
To: masahiroy; +Cc: linux-kernel, gregkh, akpm, corbet, rkovhaev
> >
> > There are files listed in *.dts.tmp, parse them as *.cmd for compiled sources.
> >
> > Signed-off-by: Jialu Xu <xujialu@vimux.org>
> > ---
>
> Why?
Seems that i had a misunderstanding of this, the purpose of this
function is to generate tags but not a file list, and files that
this patch can get additionally are some device tree sources, so
this patch is probabily not necessary. Sorry.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-22 7:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-21 8:46 [PATCH] scripts/tags.sh: parse *.dts.tmp for compiled sources Jialu Xu
2022-02-22 3:06 ` Masahiro Yamada
2022-02-22 7:11 ` Jialu Xu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.