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

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