summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: a8ad503081f5cbb2f5929c8cc731f7844e3e4746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# upstream git revision: 9364c16791ee88e6d87afc673f967fe41180f22d

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