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 19:47:53 +0100
commite8b49b1e6212601f487a6266532d223e0b199954 (patch)
tree6540f04349c08bc221a3ce9d757c00dd31e2f196 /Makefile
parent26adb9d8ba0769575032b4ff6cb7baa55574bedf (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 c600c076d2c6..3af68a6465cd 100644
--- a/Makefile
+++ b/Makefile
@@ -349,7 +349,7 @@ OBJDUMP = $(CROSS_COMPILE)objdump
AWK = awk
GENKSYMS = scripts/genksyms/genksyms
INSTALLKERNEL := installkernel
-DEPMOD = /sbin/depmod
+DEPMOD = depmod
PERL = perl
PYTHON = python
CHECK = sparse