Re: [PATCH] ARM: simplify the build rule of mach-types.h
From: Linus Walleij
Date: Fri May 28 2021 - 04:24:24 EST
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?
Yours,
Linus Walleij