summaryrefslogtreecommitdiff
path: root/sysutils/u-boot-starfive-visionfive2/Makefile
blob: 391d3b2321e6efc2619ecd31def4c7f5a55980d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
MASTERDIR=	${.CURDIR}/../u-boot-master

U_BOOT_SLAVE_PORTREVISION_2024.07=1

MODEL=		starfive-visionfive2
BOARD_CONFIG=	starfive_visionfive2_defconfig
FAMILY=		starfive
UBOOT_ARCH=	riscv64

# The FIT image will embed an OpenSBI firmware binary
OPENSBI_FIRM=	${LOCALBASE}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin
BUILD_DEPENDS+=	${OPENSBI_FIRM}:sysutils/opensbi
MAKE_ENV+=	OPENSBI=${OPENSBI_FIRM}

UBOOT_MOVE=	${WRKSRC}/spl/u-boot-spl.bin.normal.out
UBOOT_PLIST=	u-boot.itb u-boot-spl.bin.normal.out

.include "${MASTERDIR}/Makefile"