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

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