diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-18 14:49:07 +0000 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-18 14:49:07 +0000 |
commit | 86ba2a97029ade5651025fffae8535302f8eca4e (patch) | |
tree | c2de7ef95caae9b14d98944383dafb30f8e96261 /core/linux/PKGBUILD | |
parent | 29c584a0fe53a7f747a85316d952c5546d51ac2a (diff) | |
download | packages-86ba2a97029ade5651025fffae8535302f8eca4e.tar.xz |
core/linux: added i486-specific patch
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 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 |