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

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