kbuild: don't hardcode depmod path
authorDominique Martinet <asmadeus@codewreck.org>
Tue, 1 Dec 2020 13:17:30 +0000 (14:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 19:09:05 +0000 (20:09 +0100)
commit5d59eff4432198b10231a32625692965498511a0
tree9f4965f76e4d66339afdce1b6fcd7e07ff2b5aae
parentec822b3e8bf485ecb543773ad29289e6bb87b338
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>
Makefile