Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: b6a043cc9074da32b04fa61963b511e490bbe70b (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=('4f7d5e1f87d9b32700e6eb0112b93aabcf2cbf9d9d1b9c253cc79a0f394dee2e')
    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
      }
    '
)"