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

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