summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Severance2019-12-03 17:57:15 -0500
committerChris Severance2019-12-03 17:57:15 -0500
commitb0885e660ee6ce67bb1e9dd5b698ab5de84bb299 (patch)
tree4f0b2d61e255f31017287c520e6d1162ecee2172 /PKGBUILD
parent04bf32a5a28d047dee66a8365eda83642c59f7a4 (diff)
downloadaur-b0885e660ee6ce67bb1e9dd5b698ab5de84bb299.tar.gz
autu: Update to 6.9.0_1-1 Kernel 5.4 SUBDIRS=
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c6a2bb1dd36d..e879503b2437 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -156,7 +156,10 @@ prepare() {
-i 'Makefile'
# make clean for ptyx forgets a few things
- sed -e 's:rm -f ptymod\.o:rm -f ptyx.mod.o ptyx.o ptymod.o:g' -i 'ptyx/Makefile'
+ sed -e 's:rm -f ptymod\.o:rm -f ptyx.mod.o ptyx.o ptymod.o:g' \
+ -e '# Switch SUBDIRS= to M= for Kernel 5.4' \
+ -e 's:SUBDIRS=:M=$(PWD) &:g' \
+ -i 'ptyx/Makefile'
# Remove CRLF line endings from some files
sed -e 's:\r$::g' -i 'tp_ver.h' 'ptyx/ptyx.h'