From: Dominique Martinet Date: Tue, 1 Dec 2020 13:17:30 +0000 (+0100) Subject: kbuild: don't hardcode depmod path X-Git-Tag: v4.19.167~77 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ccf4f2933df8bf3b7a070bfbb7b99fbff9fa63cf;p=users%2Fdwmw2%2Flinux.git 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 Signed-off-by: Masahiro Yamada Signed-off-by: Greg Kroah-Hartman --- diff --git a/Makefile b/Makefile index b2c939f289c25..b933b9f7517f7 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