1 # SPDX-License-Identifier: BSD-2-Clause
3 # Copyright (c) 2024 The FreeBSD Foundation
5 # This software was developed by Cybermancer Infosec <bofh@FreeBSD.org>
6 # under sponsorship from the FreeBSD Foundation.
8 # CI Makefile for riscv64.
11 QEMU_DEVICES=-device virtio-blk-device,drive=hd0
12 QEMU_EXTRA_PARAM=-bios /usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf -kernel /usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin
16 portinstall-riscv64: portinstall-pkg .PHONY
17 .if !exists(/usr/local/share/opensbi/lp64/generic/firmware/fw_jump.elf)
18 env ASSUME_ALWAYS_YES=yes pkg install sysutils/opensbi
20 .if !exists(/usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin)
21 env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-riscv64
24 # NOTE: Nothing should be changed below this line unless explicitly required.
26 ci-buildworld-riscv64: ci-buildworld .PHONY
28 ci-buildkernel-riscv64: ci-buildkernel .PHONY
30 ci-buildimage-riscv64: ci-buildimage .PHONY
32 ci-runtest-riscv64: ci-runtest .PHONY