summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2020-12-01 14:17:30 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2020-12-21 13:57:08 +0900
commit436e980e2ed526832de822cbf13c317a458b78e1 (patch)
tree89319dd634852e99704ffb6195ad0063c808cc2e /Makefile
parentc0ea806f874eb32894249b4a67c2f2452881b775 (diff)
kbuild: don't hardcode depmod path
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9ec53d947628..f01c247eba58 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