summaryrefslogtreecommitdiffstats
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:10:16 +0100
commitccf4f2933df8bf3b7a070bfbb7b99fbff9fa63cf (patch)
tree2dd185c28c29af986b75560898671f7eb33edd3d /Makefile
parent610bdbf6a174c9a91e34e276a9594114b44bef74 (diff)
downloadlinux-stable-ccf4f2933df8bf3b7a070bfbb7b99fbff9fa63cf.tar.gz
linux-stable-ccf4f2933df8bf3b7a070bfbb7b99fbff9fa63cf.tar.bz2
linux-stable-ccf4f2933df8bf3b7a070bfbb7b99fbff9fa63cf.zip
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 b2c939f289c2..b933b9f7517f 100644
--- a/Makefile
+++ b/Makefile
@@ -400,7 +400,7 @@ YACC = bison
AWK = awk
GENKSYMS = scripts/genksyms/genksyms
INSTALLKERNEL := installkernel
-DEPMOD = /sbin/depmod
+DEPMOD = depmod
PERL = perl
PYTHON = python
PYTHON2 = python2