summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: 6254ac8ed89244bb7e7a905910c25325716a409b (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: 43d12d0306ae85803a356caabd0b384eb917c80e

# fail if upstream's .config changes
for ((i=0; i<${#sha256sums[@]}; i++)); do
  if [ "${sha256sums[${i}]}" = '1fc23bd2613b821d8bdca1a33dc421e21de296221108ce047176d27d37ce397f' ]; then
    source_i686=('config.i686')
    sha256sums_i686=('fc137a9706f7b1e2f9deb49f3a750834320fceee0944ce584e2c4341bb9ca2c6')
    source_i486=('config.i486')
    sha256sums_i486=('08f9a17d9237ddeea7b2612b72c4f86b1929532e9e3c9ba7d1fab86bc7b432e0')
  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
      }
    '
)"