1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/sysutils/u-boot-sifive-fu540/Makefile
2021-04-06 16:31:07 +02:00

20 lines
510 B
Makefile

MASTERDIR= ${.CURDIR}/../u-boot-master
U_BOOT_SLAVE_PORTREVISION_2020.10= 1
MODEL= sifive-fu540
BOARD_CONFIG= sifive_fu540_defconfig
FAMILY= sifive
UBOOT_ARCH= riscv64
# The FIT image will embed an OpenSBI firmware binary
OPENSBI_FIRM= ${LOCALBASE}/share/opensbi/lp64/sifive/fu540/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"