Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/linux-zen/PKGBUILD
blob: 5adcd9d60e0cf354cf47b185b215f335de9134c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# upstream git revision: 43d12d0306ae85803a356caabd0b384eb917c80e

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

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