]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: cancel sub_make_done for the install target to fix DKMS
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 29 Jul 2021 00:12:54 +0000 (09:12 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 5 Aug 2021 11:56:35 +0000 (20:56 +0900)
commitc0793701efcb79b9b4c323fd0fd3b604185ed34d
treede7bc9905c49afb14ecf2e481c7a6e809b2a55a1
parent120a5ea5a8bdd1ddcc98f2ab8b8b8129cebba508
kbuild: cancel sub_make_done for the install target to fix DKMS

Since commit 10e1a12bf32d ("kbuild: parse C= and M= before changing the
working directory"), external module builds invoked by DKMS fail because
M= option is not parsed.

I wanted to add 'unset sub_make_done' in install.sh but similar scripts,
arch/*/boot/install.sh, are duplicated, so I set sub_make_done empty in
the top Makefile.

Fixes: 10e1a12bf32d ("kbuild: parse C= and M= before changing the working directory")
Reported-by: John S Gruber <johnsgruber@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: John S Gruber <johnsgruber@gmail.com>
Makefile