summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: 3fc497f5dfdce61c34c81900477c1e1072154385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# fail if upstream's .config changes
sha256sums[4]='a68e94064f040d60e8e4c3380efeee085b54d252d527e960dd17ac688505d5b6'

source+=('config.i686')
sha256sums+=('0deb747290f398a40dcdc56db5db7328dc1ec54a1fdd9319a790324ff2c5e732')

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