Add support for the sparc architecture.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-06-15 04:46:51 +01:00
parent 49a4ffc061
commit 766cd2670c
4 changed files with 14 additions and 0 deletions

View File

@ -511,6 +511,10 @@ Set_defaults ()
powerpc)
LH_BOOTLOADER="yaboot"
;;
sparc)
LH_BOOTLOADER="silo"
;;
esac
fi

View File

@ -56,6 +56,7 @@ lh_binary_memtest ${*}
lh_binary_grub ${*}
lh_binary_syslinux ${*}
lh_binary_yaboot ${*}
lh_binary_silo ${*}
lh_binary_disk ${*}
lh_binary_includes ${*}
lh_binary_local-includes ${*}

View File

@ -100,6 +100,11 @@ case "${LH_BOOTLOADER}" in
GENISOIMAGE_EXCLUDE="boot/grub/stage2_eltorito"
;;
silo)
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -G boot/isofs.b -B ..."
GENISOIMAGE_EXCLUDE="boot/isofs.b"
;;
syslinux)
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b isolinux/isolinux.bin -c isolinux/boot.cat"

View File

@ -64,6 +64,10 @@ case "${LH_ARCHITECTURE}" in
powerpc)
LINUX="vmlinux"
;;
sparc)
LINUX="vmlinuz"
;;
esac
Check_multiarchitecture