summaryrefslogtreecommitdiff
path: root/system/xen/dom0/kernel-xen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/xen/dom0/kernel-xen.sh')
-rw-r--r--system/xen/dom0/kernel-xen.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/xen/dom0/kernel-xen.sh b/system/xen/dom0/kernel-xen.sh
index e60639bf89..b08f27fd59 100644
--- a/system/xen/dom0/kernel-xen.sh
+++ b/system/xen/dom0/kernel-xen.sh
@@ -13,11 +13,10 @@ ROOTMOD=${ROOTMOD:-ext4}
ROOTFS=${ROOTFS:-ext4}
ROOTDEV=${ROOTDEV:-/dev/sda2}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
x86_64) ARCH=x86_64 ;;
- # Bail out on everything else:
*) echo "Unsupported architecture detected ($ARCH)"; exit ;;
esac
fi