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

# fail if upstream's .config changes
sha256sums[4]='3de28992dd99ed2dbe327042a715dd0293c3ab37a46c74fa97b39c48403bc9f4'

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