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

Linus Walleij linus.walleij at linaro.org
Fri May 28 01:23:58 PDT 2021


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?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list