# $Id$

MASTERDIR=	${.CURDIR}/../u-boot-2021.01

MODEL=		pbp-sos
BOARD_CONFIG=	pinebook-pro-rk3399_defconfig
FAMILY=		rk3399
EXTRA_PATCHES=	${.CURDIR}/files

spi:
	( \
		cd work/u-boot-2021.01; \
		./tools/mkimage -n rk3399 -T rkspi -d tpl/u-boot-tpl.bin:spl/u-boot-spl.bin idbloader_spi.img; \
		mv ./idbloader_spi.img ${.CURDIR} \
	)

.include "${MASTERDIR}/Makefile"

