Add support for the sparc architecture.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
49a4ffc061
commit
766cd2670c
|
@ -511,6 +511,10 @@ Set_defaults ()
|
||||||
powerpc)
|
powerpc)
|
||||||
LH_BOOTLOADER="yaboot"
|
LH_BOOTLOADER="yaboot"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
sparc)
|
||||||
|
LH_BOOTLOADER="silo"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,7 @@ lh_binary_memtest ${*}
|
||||||
lh_binary_grub ${*}
|
lh_binary_grub ${*}
|
||||||
lh_binary_syslinux ${*}
|
lh_binary_syslinux ${*}
|
||||||
lh_binary_yaboot ${*}
|
lh_binary_yaboot ${*}
|
||||||
|
lh_binary_silo ${*}
|
||||||
lh_binary_disk ${*}
|
lh_binary_disk ${*}
|
||||||
lh_binary_includes ${*}
|
lh_binary_includes ${*}
|
||||||
lh_binary_local-includes ${*}
|
lh_binary_local-includes ${*}
|
||||||
|
|
|
@ -100,6 +100,11 @@ case "${LH_BOOTLOADER}" in
|
||||||
GENISOIMAGE_EXCLUDE="boot/grub/stage2_eltorito"
|
GENISOIMAGE_EXCLUDE="boot/grub/stage2_eltorito"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
silo)
|
||||||
|
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -G boot/isofs.b -B ..."
|
||||||
|
GENISOIMAGE_EXCLUDE="boot/isofs.b"
|
||||||
|
;;
|
||||||
|
|
||||||
syslinux)
|
syslinux)
|
||||||
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
|
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"
|
GENISOIMAGE_OPTIONS="${GENISOIMAGE_OPTIONS} -r -b isolinux/isolinux.bin -c isolinux/boot.cat"
|
||||||
|
|
|
@ -64,6 +64,10 @@ case "${LH_ARCHITECTURE}" in
|
||||||
powerpc)
|
powerpc)
|
||||||
LINUX="vmlinux"
|
LINUX="vmlinux"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
sparc)
|
||||||
|
LINUX="vmlinuz"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
Check_multiarchitecture
|
Check_multiarchitecture
|
||||||
|
|
Loading…
Reference in New Issue