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

# fail if upstream's .config changes
for ((i=0; i<${#sha256sums[@]}; i++)); do
  if [ "${sha256sums[${i}]}" = 'c645053c4525a1a70d5c10b52257ac136da7e9059b6a4a566a857a3d42046426' ]; then
    sha256sums[${i}]='3a47c51abb24184683c6139ef7208e3fad70789c83bdec78483677256aa43b0a'
  fi
done

eval "$(
  declare -f package_linux-lts-headers | \
    sed '
      \,/tools/objtool" ,d
      \,arch/x86/Makefile,a cp arch/x86/Makefile_32.cpu "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/x86/"
    '
)"