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

# fail if upstream's .config changes
if [ "${sha256sums[4]}" = '8566a49997faf3f8678440c52578a7a0ee901e598d3b67d3bee3799fb92e8f86'' ]; then
  sha256sums[4]='a5cc94af0e84234d6bbde9704f11e5759e5a83f3901384638c534e27cf4b660e'
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
      }
    '
)"