aboutsummaryrefslogtreecommitdiff
path: root/sysutils/u-boot-sifive-fu740/Makefile
blob: 46bbfe566468ba06e28f9f08f1de442dbaa26c7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
WWW=		https://www.denx.de/wiki/U-Boot
MASTERDIR=	${.CURDIR}/../u-boot-master

MODEL=		sifive-fu740
BOARD_CONFIG=	sifive_unmatched_defconfig
FAMILY=		sifive
UBOOT_ARCH=	riscv64

U_BOOT_SLAVE_PORTREVISION_2022.04=	2

# 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
UBOOT_PLIST=	u-boot.itb u-boot-spl.bin

.include "${MASTERDIR}/Makefile"