Add support for building arm64/aarch64 virtual machine images.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-04-20 20:06:25 +00:00
parent 7fffcb0d48
commit 6a3afe6924
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-arm64/; revision=281786

View File

@ -29,6 +29,13 @@ write_partition_layout() {
-p freebsd-ufs/rootfs:=${VMBASE} \
-o ${VMIMAGE}
;;
arm64:aarch64)
mkimg -s gpt \
-p efi/efiboot:=${BOOTFILES}/efi/boot1/boot1.efifat \
${SWAPOPT} \
-p freebsd-ufs/rootfs:=${VMBASE} \
-o ${VMIMAGE}
;;
powerpc:powerpc*)
mkimg -s apm \
-p apple-boot/bootfs:=${BOOTFILES}/powerpc/boot1.chrp/boot1.hfs \