summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
blob: 91b65a119a710910ee6a6e17332d7eef58cb2c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# upstream git: 1899560d28b13cfda846239f5d2db04005dc8b41

# fail if upstream's .config changes
sha256sums[4]='bfde21c325d39013463c38e9fa23d6d6481238b8509eea4ae38906127017e47d'

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
      }
    '
)"