author: Masahiro Yamada <masahiroy@kernel.org> 2021-08-19 09:57:36 +0900
committer: Masahiro Yamada <masahiroy@kernel.org> 2021-09-03 08:17:20 +0900
commit: a8390ba9ddce15242a41ca04d097b75fd54fd63f
parent: f01ac2a15218f3282b0b09b7ef7f314cbd7dd2b3
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 6961b4acacf8..3efc984d4c69 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -177,6 +177,8 @@ cmd_modversions_c = \
if $(NM) $@ 2>/dev/null | grep -q __ksymtab; then \
$(call cmd_gensymtypes_c,$(KBUILD_SYMTYPES),$(@:.o=.symtypes)) \
> $@.symversions; \
+ else \
+ rm -f $@.symversions; \
fi;
else
cmd_modversions_c = \