diff options
Diffstat (limited to 'kernels/linux-libre-rt')
-rw-r--r-- | kernels/linux-libre-rt/PKGBUILD | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD index 51cfd5b02..867c43e25 100644 --- a/kernels/linux-libre-rt/PKGBUILD +++ b/kernels/linux-libre-rt/PKGBUILD @@ -131,7 +131,7 @@ prepare() { chmod +x tools/objtool/sync-check.sh # GNU patch doesn't support git-style file mode # add realtime patch - patch -p1 -i "${srcdir}/patch-${_pkgver%-*}-${_rtpatchver}.patch" + patch -p1 -i ../patch-${_pkgver%-*}-${_rtpatchver}.patch rm localversion-rt if [ "${CARCH}" = "armv7h" ]; then @@ -139,28 +139,28 @@ prepare() { # Note: For stability reasons, AUFS has been removed in the RCN patch. # We are supporting AUFS in linux-libre-pck through PCK patch. # See https://wiki.parabola.nu/PCK for further details. - git apply -v "${srcdir}/rcn-libre-${_pkgver%-*}-${rcnrel}.patch" + git apply -v ../rcn-libre-${_pkgver%-*}-${rcnrel}.patch # ALARM patches - patch -p1 -i "${srcdir}/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch" - patch -p1 -i "${srcdir}/0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch" - patch -p1 -i "${srcdir}/0003-SMILE-Plug-device-tree-file.patch" - patch -p1 -i "${srcdir}/0004-fix-mvsdio-eMMC-timing.patch" - patch -p1 -i "${srcdir}/0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch" - patch -p1 -i "${srcdir}/0006-set-default-cubietruck-led-triggers.patch" - patch -p1 -i "${srcdir}/0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch" - patch -p1 -i "${srcdir}/0008-disable-USB3-port-on-ODROID-XU.patch" - patch -p1 -i "${srcdir}/0009-ARM-dove-enable-ethernet-on-D3Plug.patch" - patch -p1 -i "${srcdir}/0010-power-add-power-sequence-library.patch" - patch -p1 -i "${srcdir}/0011-usb-core-add-power-sequence-handling-for-USB-devices.patch" - patch -p1 -i "${srcdir}/0012-ARM-dts-imx6qdl-Enable-usb-node-children-with-reg.patch" - patch -p1 -i "${srcdir}/0013-ARM-dts-imx6qdl-udoo.dtsi-fix-onboard-USB-HUB-proper.patch" - patch -p1 -i "${srcdir}/0014-ARM-dts-imx6q-evi-Fix-onboard-hub-reset-line.patch" + patch -p1 -i ../0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch + patch -p1 -i ../0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch + patch -p1 -i ../0003-SMILE-Plug-device-tree-file.patch + patch -p1 -i ../0004-fix-mvsdio-eMMC-timing.patch + patch -p1 -i ../0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch + patch -p1 -i ../0006-set-default-cubietruck-led-triggers.patch + patch -p1 -i ../0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch + patch -p1 -i ../0008-disable-USB3-port-on-ODROID-XU.patch + patch -p1 -i ../0009-ARM-dove-enable-ethernet-on-D3Plug.patch + patch -p1 -i ../0010-power-add-power-sequence-library.patch + patch -p1 -i ../0011-usb-core-add-power-sequence-handling-for-USB-devices.patch + patch -p1 -i ../0012-ARM-dts-imx6qdl-Enable-usb-node-children-with-reg.patch + patch -p1 -i ../0013-ARM-dts-imx6qdl-udoo.dtsi-fix-onboard-USB-HUB-proper.patch + patch -p1 -i ../0014-ARM-dts-imx6q-evi-Fix-onboard-hub-reset-line.patch fi # add freedo as boot logo install -m644 -t drivers/video/logo \ - "${srcdir}/logo_linux_"{clut224.ppm,vga16.ppm,mono.pbm} + ../logo_linux_{clut224.ppm,vga16.ppm,mono.pbm} # security patches @@ -172,6 +172,15 @@ prepare() { # https://bugs.archlinux.org/task/56711 patch -Np1 -i ../0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch + + # maintain the TTY over USB disconnects + # http://www.coreboot.org/EHCI_Gadget_Debug + patch -p1 -i ../0001-usb-serial-gadget-no-TTY-hangup-on-USB-disconnect-WI.patch + + # fix Atmel maXTouch touchscreen support + # https://labs.parabola.nu/issues/877 + # http://www.fsfla.org/pipermail/linux-libre/2015-November/003202.html + patch -p1 -i ../0002-fix-Atmel-maXTouch-touchscreen-support.patch cp -Tf ../config.$CARCH .config |