OSDN Git Service

kbuild: do not remove empty *.symtypes explicitly
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 5 Apr 2022 11:33:50 +0000 (20:33 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 6 Apr 2022 10:27:51 +0000 (19:27 +0900)
commitdc6dc3e7a73fc09c9ce773bc23bc2864d4c13284
tree993343a005e2f297e55527443cb110309730f19d
parentf43e31d5cb7859189a8be5699f4347e07b07c1df
kbuild: do not remove empty *.symtypes explicitly

Presumably, 'test -s $@ || rm -f $@' intends to remove the output when
the genksyms command fails.

It is unneeded because .DELETE_ON_ERROR automatically removes the output
on failure.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/Makefile.build