summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2020-12-01 14:17:30 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-12 20:16:16 +0100
commit3417067b311146a4cc66944a550a211ca903bff3 (patch)
tree032fabcb22faffbcbca19a694a2fdb715ff1c1c5 /Makefile
parent3f2a28930a7eae7a811af0897b4aac7af5238fe6 (diff)
kbuild: don't hardcode depmod path
commit 436e980e2ed526832de822cbf13c317a458b78e1 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: Dominique Martinet <asmadeus@codewreck.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 450ebe152806..a910e3acb054 100644
--- a/Makefile
+++ b/Makefile
@@ -436,7 +436,7 @@ LEX = flex
YACC = bison
AWK = awk
INSTALLKERNEL := installkernel
-DEPMOD = /sbin/depmod
+DEPMOD = depmod
PERL = perl
PYTHON = python
PYTHON3 = python3