freebsd-ports/sysutils/u-boot-rpi3/Makefile
Emmanuel Vadot 0de03bbf19 sysutils/u-boot-*: Add patch to fix MMC ordering
For FreeBSD we use a dtb overlay that switches between the sdhost and
the sdhci controller for sd card.
Recent changes in u-boot device model changed device numbering and the
sd card controller became "mmc2" for our setup which isn't accounted for
in the possible boot devices.
Patch isn't accepted yet upstream but bring this patch in for our ports anyway.
2021-11-09 20:56:54 +01:00

19 lines
436 B
Makefile

MASTERDIR= ${.CURDIR}/../u-boot-master
U_BOOT_SLAVE_PORTREVISION_2021.07= 1
EXTRA_PATCHES?= ${.CURDIR}/files/
PATCHFILES+= 939129/raw \
1547145/raw
MODEL?= rpi3
BOARD_CONFIG?= rpi_3_defconfig
FAMILY= rpi
UBOOT_ARCH?= aarch64
DEPENDS= ${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware
CONFIG_FRAGMENT= ${.CURDIR}/../u-boot-rpi3/files/rpi3_fragment
FRAGMENT_NAME= rpi3_fragment
.include "${MASTERDIR}/Makefile"