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

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