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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
610bdbf6a1
commit
ccf4f2933d
2
Makefile
2
Makefile
@@ -400,7 +400,7 @@ YACC = bison
|
|||||||
AWK = awk
|
AWK = awk
|
||||||
GENKSYMS = scripts/genksyms/genksyms
|
GENKSYMS = scripts/genksyms/genksyms
|
||||||
INSTALLKERNEL := installkernel
|
INSTALLKERNEL := installkernel
|
||||||
DEPMOD = /sbin/depmod
|
DEPMOD = depmod
|
||||||
PERL = perl
|
PERL = perl
|
||||||
PYTHON = python
|
PYTHON = python
|
||||||
PYTHON2 = python2
|
PYTHON2 = python2
|
||||||
|
|||||||
Reference in New Issue
Block a user