]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kbuild: don't hardcode depmod path
authorDominique Martinet <asmadeus@codewreck.org>
Tue, 1 Dec 2020 13:17:30 +0000 (14:17 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 21 Dec 2020 04:57:08 +0000 (13:57 +0900)
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: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile

index 9ec53d947628d4dd919f84f348ab8223ef69b4e3..f01c247eba5832f21a23f543d8279cb6371092f3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -450,7 +450,7 @@ LEX         = flex
 YACC           = bison
 AWK            = awk
 INSTALLKERNEL  := installkernel
-DEPMOD         = /sbin/depmod
+DEPMOD         = depmod
 PERL           = perl
 PYTHON         = python
 PYTHON3                = python3