kbuild: don't hardcode depmod path
commit 436e980e2e
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
7e8e7dc278
commit
9a54ced0a7
2
Makefile
2
Makefile
@ -349,7 +349,7 @@ OBJDUMP = $(CROSS_COMPILE)objdump
|
|||||||
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
|
||||||
CHECK = sparse
|
CHECK = sparse
|
||||||
|
Reference in New Issue
Block a user