From 84e5757b5a09a94525657c70c2ece495106409f7 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 3 May 2021 17:16:40 +0200 Subject: core/linux: build documentation on i486 again --- core/linux/PKGBUILD | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'core/linux') 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 -- cgit v1.2.3