Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-block/rts_pstor: fix compile with kernel >5.1
Closes: https://bugs.gentoo.org/702490 Closes: https://bugs.gentoo.org/702492 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Closes: #14818 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
- Loading branch information
Showing
2 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
sys-block/rts_pstor/files/rts_pstor-makefile-kernel-5.1.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -36,3 +36,3 @@ | ||
cp -f ./define.release ./define.h | ||
- make -C /lib/modules/$(shell uname -r)/build/ SUBDIRS=$(PWD) modules | ||
+ +make -C $(KERNELDIR) M=$(PWD) modules | ||
debug: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters