diff options
Diffstat (limited to 'core/linux/PKGBUILD')
-rw-r--r-- | core/linux/PKGBUILD | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index 238ac1f6..85773e57 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -17,3 +17,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 |