]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tests/ci/Makefile.riscv64
Merge bmake-20240430
[FreeBSD/FreeBSD.git] / tests / ci / Makefile.riscv64
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 riscv64.
9 #
10 QEMU_ARCH=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
13 QEMU_MAX_CPU_COUNT=16
14 QEMU_MAX_MEM_SIZE=64
15
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
19 .endif
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
22 .endif
23
24 # NOTE: Nothing should be changed below this line unless explicitly required.
25
26 ci-buildworld-riscv64: ci-buildworld .PHONY
27
28 ci-buildkernel-riscv64: ci-buildkernel .PHONY
29
30 ci-buildimage-riscv64: ci-buildimage .PHONY
31
32 ci-runtest-riscv64: ci-runtest .PHONY