summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: 197ec5f3784bd49adbe9f7afa9fa39dd58a0f1fa (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=('224d422c6eea90fa395e49adf672a48468fd9d702f698a3ab4c9b9ee40c7cd18')
    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
      }
    '
)"