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

# fail if upstream's .config changes
sha256sums[4]='6c4d909ae6594a2956c257539c8b2f67a8de52d7335be172787d6dc8aca12c99'

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}/"
      }
    '
)"