Thread (3 messages) flat view 3 messages, 2 authors, 2021-05-28

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

From: Linus Walleij <hidden>
Date: 2021-05-28 08:24:24
Also in: lkml

On Fri, May 28, 2021 at 5:52 AM Masahiro Yamada [off-list ref] 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@kernel.org>
Reviewed-by: Linus Walleij <redacted>

Can you put this into Russell's patch tracker or shall I sign
it off and put it there?

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help