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

# fail if upstream's .config changes
for ((i=0; i<${#sha256sums[@]}; i++)); do
  if [ "${sha256sums[${i}]}" = 'bec3d57b04bcc04be141e60e07fceae830c204de453ad18d054bbb5bc911f7e7' ]; then
    sha256sums[${i}]='e4e7fa1f8a14ac7de8593bc0edcf9001505c5e8cf3989822756e75c775964abc'
  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/"
    '
)"