From 86ba2a97029ade5651025fffae8535302f8eca4e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 18 Jul 2018 14:49:07 +0000 Subject: core/linux: added i486-specific patch --- core/linux/PKGBUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'core/linux/PKGBUILD') diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index 7b05456f..356417f2 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -15,3 +15,19 @@ eval "$( } ' )" + +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # no documentation + makedepends=(${makedepends[@]//xmlto/}) + + # use i486-specific kernel configuration + source[4]='config.i486' + sha256sums[4]='8bb140f3f672d6e10bfb652a617d0c161b24980c750d2358cece2b82f8897dcb' + eval "$( + declare -f prepare | \ + sed ' + /cd.*_srcname/ a \ cp ../config.i486 ../config + ' + )" +fi -- cgit v1.2.3-70-g09d2