1# SPDX-License-Identifier: BSD-2-Clause
2#
3# Copyright (c) 2024 The FreeBSD Foundation
4#
5# This software was developed by Cybermancer Infosec <bofh@FreeBSD.org>
6# under sponsorship from the FreeBSD Foundation.
7#
8# CI Makefile for armv7.
9#
10QEMU_ARCH=arm
11QEMU_DEVICES=-device virtio-blk,drive=hd0 -device ahci,id=ahci
12QEMU_EXTRA_PARAM=-bios /usr/local/share/u-boot/u-boot-qemu-arm/u-boot.bin
13QEMU_MAX_CPU_COUNT=1
14QEMU_MAX_MEM_SIZE=3
15
16portinstall-armv7: portinstall-pkg .PHONY
17.if !exists(/usr/local/share/u-boot/u-boot-qemu-arm/u-boot.bin)
18	env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-arm
19.endif
20
21# NOTE: Nothing should be changed below this line unless explicitly required.
22
23ci-buildworld-armv7: ci-buildworld .PHONY
24
25ci-buildkernel-armv7: ci-buildkernel .PHONY
26
27ci-buildimage-armv7: ci-buildimage .PHONY
28
29ci-runtest-armv7: ci-runtest .PHONY
30