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

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