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:09:05 +0100
commit5d59eff4432198b10231a32625692965498511a0 (patch)
tree9f4965f76e4d66339afdce1b6fcd7e07ff2b5aae /Makefile
parentec822b3e8bf485ecb543773ad29289e6bb87b338 (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 d36b8f4228a4..bd3466154e2d 100644
--- a/Makefile
+++ b/Makefile
@@ -382,7 +382,7 @@ OBJDUMP = $(CROSS_COMPILE)objdump
AWK = awk
GENKSYMS = scripts/genksyms/genksyms
INSTALLKERNEL := installkernel
-DEPMOD = /sbin/depmod
+DEPMOD = depmod
PERL = perl
PYTHON = python
CHECK = sparse