summaryrefslogtreecommitdiff
path: root/core/linux-lts/PKGBUILD
blob: d77ebdf9b9801605ae076fae1ef22b2c509a5d34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# fail if upstream's .config changes
if [ "${sha256sums[4]}" = 'c645053c4525a1a70d5c10b52257ac136da7e9059b6a4a566a857a3d42046426' ]; then
  sha256sums[4]='93082396973984f8cdb0fb5b05ba9e50f35ebd4d766e2aadfd5a69acce1cfab1'
fi

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/"
    '
)"