summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: f7b7b3fb889f4d033d25f74cdacf49cedc4f4f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# upstream git revision: 2edc3f8d648d3f161a9593c0a41332dae246cdfd

# fail if upstream's .config changes
for ((i=0; i<${#sha256sums[@]}; i++)); do
  if [ "${sha256sums[${i}]}" = '83d768f19193f6795b8159d81c6775b9f62f4994f2a0d8371ac243e7b0890db8' ]; then
    source_i686=('config.i686')
    sha256sums_i686=('fac358ec445aaeafe13b3d5916c2c01304588578632f4d74186f8691acd0419b')
    source_i486=('config.i486')
    sha256sums_i486=('8bb140f3f672d6e10bfb652a617d0c161b24980c750d2358cece2b82f8897dcb')
  fi
done

eval "$(
  declare -f prepare | \
    sed '
      s,\.\./config,../config.$CARCH,
    '
  declare -f package_linux-headers | \
    sed '
      \,/tools/objtool" ,d
      \,arch/x86/Makefile, {
        a \
        install -t "${builddir}/arch/x86" -m644 arch/x86/Makefile_32.cpu
      }
    '
)"