Re: [PATCH] ARM: simplify the build rule of mach-types.h

From: Masahiro Yamada
Date: Fri May 28 2021 - 05:16:13 EST


On Fri, May 28, 2021 at 5:24 PM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>
> On Fri, May 28, 2021 at 5:52 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> > The directory of mach-types.h is created a couple of lines above:
> >
> > _dummy := $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)') \
> >
> > The 'mkdir -p' command is redundant.
> >
> > scripts/Kbuild.include defines real-prereqs as a shorthand for
> > $(filter-out $(PHONY),$^). Let's use it to simplify the code.
> >
> > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
>
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
>
> Can you put this into Russell's patch tracker or shall I sign
> it off and put it there?


I sent this to patches@xxxxxxxxxxxxxxxx

It is already there.
https://www.arm.linux.org.uk/developer/patches/section.php?section=0



--
Best Regards
Masahiro Yamada