summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: 07e47e3562f5d2952d099e0fe1c36e84168dc08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
source+=('config-i686')
sha256sums+=('533f414d1f95e848166baf3870286216295e249e03220e8f9383950df325a338')

# fail if upstream's .config changes
sha256sums[4]='3190c72835aa75ee984b83bc463ebf317c9f50d09200808bfe08464e5a08bc56'

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