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

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

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