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

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

eval "$(
  declare -f package_linux-lts-headers | \
    sed '
      \,/tools/objtool" ,d
      \,arch/x86/Makefile,a install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile_32.cpu
    '
)"