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