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

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