summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: 053387f3ef7b4d803afaf538495c831e10f1e427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# upstream git revision: e2e10e88c44d845f0fd03f973dd3d17dd187f84d

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

eval "$(
  declare -f package_linux-headers | \
    sed '
      \,/tools/objtool" ,d
      \,arch/x86/Makefile, {
        a \
        install -t "${_builddir}/arch/x86" -m644 arch/x86/Makefile_32.cpu
      }
    '
)"