pkgsrc/sysutils/u-boot-tinker/Makefile

11 lines
374 B
Makefile

# $NetBSD: Makefile,v 1.1 2019/09/07 18:27:46 tnn Exp $
UBOOT_TARGET= tinker
UBOOT_CONFIG= tinker-rk3288_defconfig
UBOOT_BIN= u-boot-tinker-sd.bin
post-build:
cd ${WRKSRC} && ./tools/mkimage -n rk3288 -T rksd -d ./spl/u-boot-spl-dtb.bin u-boot-tinker-sd.bin
cd ${WRKSRC} && cat ./u-boot-dtb.bin >> u-boot-tinker-sd.bin
.include "../../sysutils/u-boot/u-boot-arm.mk"