Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/linux-lts/PKGBUILD')
-rw-r--r--core/linux-lts/PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/linux-lts/PKGBUILD b/core/linux-lts/PKGBUILD
new file mode 100644
index 00000000..aafc8e7d
--- /dev/null
+++ b/core/linux-lts/PKGBUILD
@@ -0,0 +1,16 @@
+source+=('config-i686')
+sha256sums+=('f5611ebd9d9ff0aad420cb74857cd6b034ebc1d3fea480bca8a43610780907d5')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ s|cat "${srcdir}/config" > ./.config|cat "${srcdir}/config-i686" > ./.config|
+ '
+ declare -f _package-headers | \
+ sed '
+ /^\s*cp arch\/${KARCH}\/Makefile.*$/ {
+ a \
+ cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/"
+ }
+ '
+)"