Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/linux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/linux/PKGBUILD')
-rw-r--r--core/linux/PKGBUILD16
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