30 lines
895 B
Makefile
30 lines
895 B
Makefile
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
# Copyright (c) 2024 The FreeBSD Foundation
|
|
#
|
|
# This software was developed by Cybermancer Infosec <bofh@FreeBSD.org>
|
|
# under sponsorship from the FreeBSD Foundation.
|
|
#
|
|
# CI Makefile for aarch64.
|
|
#
|
|
QEMU_ARCH=aarch64
|
|
QEMU_DEVICES=-device virtio-blk,drive=hd0 -device ahci,id=ahci
|
|
QEMU_EXTRA_PARAM=-bios /usr/local/share/u-boot/u-boot-qemu-arm64/u-boot.bin -cpu cortex-a57
|
|
QEMU_MAX_CPU_COUNT=64
|
|
QEMU_MAX_MEM_SIZE=64
|
|
|
|
portinstall-aarch64: portinstall-pkg .PHONY
|
|
.if !exists(/usr/local/share/u-boot/u-boot-qemu-arm64/u-boot.bin)
|
|
env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-arm64
|
|
.endif
|
|
|
|
# NOTE: Nothing should be changed below this line unless explicitly required.
|
|
|
|
ci-buildworld-aarch64: ci-buildworld .PHONY
|
|
|
|
ci-buildkernel-aarch64: ci-buildkernel .PHONY
|
|
|
|
ci-buildimage-aarch64: ci-buildimage .PHONY
|
|
|
|
ci-runtest-aarch64: ci-runtest .PHONY
|