summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: c852aac5078a2cfde9086f3eaee7837341c76154 (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]='c168dd00d0105c55d880d609f69764ad2b2d3f0900488c27265ebcb684842d3e'
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
      }
    '
)"