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

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