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

Masahiro Yamada masahiroy at kernel.org
Fri May 28 02:15:00 PDT 2021


On Fri, May 28, 2021 at 5:24 PM Linus Walleij <linus.walleij at linaro.org> wrote:
>
> On Fri, May 28, 2021 at 5:52 AM Masahiro Yamada <masahiroy at kernel.org> 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 at kernel.org>
>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
>
> Can you put this into Russell's patch tracker or shall I sign
> it off and put it there?


I sent this to patches at arm.linux.org.uk

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



-- 
Best Regards
Masahiro Yamada



More information about the linux-arm-kernel mailing list