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:18:16 +0100
commit3ca425885bb74e8b286308707c067aaabc6f4fce (patch)
treebc246b7b2ebe082f2937779d4300ad2eab10eb66 /Makefile
parente5383432d92c76054470bdc562fb26f237befc13 (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 2b3f0d06b005..698816586514 100644
--- 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