Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: 518629d97df19452e1e3902b572482b4c1dfbd75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
source+=('config-i686')
sha256sums+=('f5611ebd9d9ff0aad420cb74857cd6b034ebc1d3fea480bca8a43610780907d5')

eval "$(
  declare -f prepare | \
    sed '
      s|cat "${srcdir}/config" > ./.config|cat "${srcdir}/config-i686" > ./.config|
    '
  declare -f package_linux-lts-headers | \
    sed '
      /^\s*cp arch\/${KARCH}\/Makefile.*$/ {
        a \
          cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/"
      }
    '
)"