index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-03 17:16:40 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-03 17:16:40 +0200 |
commit | 84e5757b5a09a94525657c70c2ece495106409f7 (patch) | |
tree | a4c2eb8c13c0e30575ceeee93c6ca5df456d24a0 /core/linux/PKGBUILD | |
parent | 7668de35f82d130558dd5748c8520ce198828d05 (diff) |
-rw-r--r-- | core/linux/PKGBUILD | 21 |
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 |