author: Masahiro Yamada <masahiroy@kernel.org> 2021-07-29 09:12:54 +0900
committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-08-12 13:32:11 +0200
commit: 9884f6096c4a83248eda4f42f2f0f5297592d15d
parent: cb1f2a9b52d67686f75f896c16eab01dcbd72aaa
Commit Summary:
Diffstat:
1 file changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9d810e13a83f..218f44d7fc80 100644
--- a/Makefile
+++ b/Makefile
@@ -1366,6 +1366,15 @@ scripts_unifdef: scripts_basic
$(Q)$(MAKE) $(build)=scripts scripts/unifdef
# ---------------------------------------------------------------------------
+# Install
+
+# Many distributions have the custom install script, /sbin/installkernel.
+# If DKMS is installed, 'make install' will eventually recuses back
+# to the this Makefile to build and install external modules.
+# Cancel sub_make_done so that options such as M=, V=, etc. are parsed.
+
+install: sub_make_done :=
+
# Kernel selftest
PHONY += kselftest