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

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