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

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