summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: 01e616ba27f065ade467b6e742da005d238fb4ba (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]}" = '627aa44c65d7297b00a8a7045d606d33b6a0b982c02331a101b94d38d348082a' ]; 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
      }
    '
)"