summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: c1e9e5654e1c4577ebc56be38255ee4814ce6311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# upstream git revision: f0405d5a2107347d1a1a9779c70ed0007f0e0d36

# fail if upstream's .config changes
for ((i=0; i<${#sha256sums[@]}; i++)); do
  if [ "${sha256sums[${i}]}" = 'd0f62ce948ad58b96fea316b9cf1f08193c6b56e0ca4901d382494a071865dfd' ]; then
    sha256sums[${i}]='8a0459f6f03f7fab9a7d4f8bcdcb6b0fcbacdb21e465a1f3e87405e645223cf7'
  fi
done

eval "$(
  declare -f package_linux-lts-headers | \
    sed '
      \,/tools/objtool" ,d
      \,arch/x86/Makefile,a cp arch/x86/Makefile_32.cpu "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/x86/"
    '
)"