提交 2ce81cba 编写于 作者: D Dominique Martinet 提交者: Zheng Zengkai

kbuild: don't hardcode depmod path

stable inclusion
from stable-5.10.7
commit 3ca425885bb74e8b286308707c067aaabc6f4fce
bugzilla: 47429

--------------------------------

commit 436e980e upstream.

depmod is not guaranteed to be in /sbin, just let make look for
it in the path like all the other invoked programs
Signed-off-by: NDominique Martinet <asmadeus@codewreck.org>
Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 7c64b309
......@@ -450,7 +450,7 @@ LEX = flex
YACC = bison
AWK = awk
INSTALLKERNEL := installkernel
DEPMOD = /sbin/depmod
DEPMOD = depmod
PERL = perl
PYTHON = python
PYTHON3 = python3
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册