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

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