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

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