Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: 1a94de8f8ed6c94fa40bf21d341ab60b8fca43e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# upstream git revision: 54f50a6f5f97c6a6ee1b22f8f92b9cf7d2e76997

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