summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: 9a075d908e01cc340a935139510bb82cb263858e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# upstream git: a958023be78776343cd4392220c2a1ebdf45f63d

# fail if upstream's .config changes
if [ "${sha256sums[4]}" = 'f38927db126ec7141ea2dd70cabb2ef378552672b31db4ab621493928497abd7' ]; then
  sha256sums[4]='637b4bd37e5272d4fea12ff1b170210b75db78354be23ddc3df9939e333a10b7'
fi

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