summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: a97f57e6ec9f5e7dce0e272fb65fb2709a8c12c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# fail if upstream's .config changes
if [ "${sha256sums[4]}" = 'c645053c4525a1a70d5c10b52257ac136da7e9059b6a4a566a857a3d42046426' ]; then
  sha256sums[4]='a7222ca3526ef6042ad79700c36bdcd915f7c3ceb386fd3c89fa2567fd18707a'
fi

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