Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-03 17:16:40 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-03 17:16:40 +0200
commit84e5757b5a09a94525657c70c2ece495106409f7 (patch)
treea4c2eb8c13c0e30575ceeee93c6ca5df456d24a0 /core/linux/PKGBUILD
parent7668de35f82d130558dd5748c8520ce198828d05 (diff)
core/linux: build documentation on i486 again
Diffstat (limited to 'core/linux/PKGBUILD')
-rw-r--r--core/linux/PKGBUILD21
1 files changed, 5 insertions, 16 deletions
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD
index 4276e704..343c4f72 100644
--- a/core/linux/PKGBUILD
+++ b/core/linux/PKGBUILD
@@ -12,27 +12,16 @@ for ((i=0; i<${#sha256sums[@]}; i++)); do
fi
done
-for _rem_i486_dep in graphviz imagemagick; do
- if printf '%s\n' "${makedepends[@]}" | grep -qxF "${_rem_i486_dep}"; then
- makedepends=(${makedepends[@]/${_rem_i486_dep}/})
- makedepends_i686+=("${_rem_i486_dep}")
- makedepends_pentium4=("${makedepends_i686[@]}")
- fi
-done
-
+# copy architecture specific config file, not default 'config'
eval "$(
- declare -f build | \
- sed '
- s/\bhtmldocs\b//
- '
- declare -f package_linux-docs | \
- sed '
- \@/Documentation/@ s/^\s*rm /\0-f /
- '
declare -f prepare | \
sed '
s,\.\./config,../config.$CARCH,
'
+)"
+
+# patch architecture when copying the kernel Makefile
+eval "$(
declare -f package_linux-headers | \
sed '
\,/tools/objtool" ,d