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

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