--- /dev/null
+From 436e980e2ed526832de822cbf13c317a458b78e1 Mon Sep 17 00:00:00 2001
+From: Dominique Martinet <asmadeus@codewreck.org>
+Date: Tue, 1 Dec 2020 14:17:30 +0100
+Subject: kbuild: don't hardcode depmod path
+
+From: Dominique Martinet <asmadeus@codewreck.org>
+
+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 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/Makefile
++++ b/Makefile
+@@ -450,7 +450,7 @@ LEX = flex
+ YACC = bison
+ AWK = awk
+ INSTALLKERNEL := installkernel
+-DEPMOD = /sbin/depmod
++DEPMOD = depmod
+ PERL = perl
+ PYTHON = python
+ PYTHON3 = python3
lib-genalloc-fix-the-overflow-when-size-is-too-big.patch
depmod-handle-the-case-of-sbin-depmod-without-sbin-i.patch
scsi-ufs-clear-uac-for-ffu-and-rpmb-luns.patch
+kbuild-don-t-hardcode-depmod-path.patch