diff mbox series

[2/2] kbuild: don't hardcode depmod path

Message ID 1606828650-29841-2-git-send-email-asmadeus@codewreck.org (mailing list archive)
State New, archived
Headers show
Series [1/2] ld-version: use /usr/bin/env awk for shebank | expand

Commit Message

Dominique Martinet Dec. 1, 2020, 1:17 p.m. UTC
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>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 9e7fd6a065a7..d7bd114836a9 100644
--- a/Makefile
+++ b/Makefile
@@ -452,7 +452,7 @@  LEX		= flex
 YACC		= bison
 AWK		= awk
 INSTALLKERNEL  := installkernel
-DEPMOD		= /sbin/depmod
+DEPMOD		= depmod
 PERL		= perl
 PYTHON		= python
 PYTHON3		= python3