pkgsrc/sysutils/u-boot-pine-h64/Makefile
jmcneill 47a09734d8 U-Boot 2018.11 broke compatibility of U-Boot image type IDs. Restore IDs
used in previous (and subsequent) U-Boot versions to fix booting GENERIC
armv7 NetBSD kernels.
2018-12-31 15:06:44 +00:00

16 lines
492 B
Makefile

# $NetBSD: Makefile,v 1.4 2018/12/31 15:06:46 jmcneill Exp $
UBOOT_TARGET= pine-h64
UBOOT_CONFIG= pine_h64_defconfig
UBOOT_BIN= u-boot-sunxi-with-spl.bin
PKGREVISION= 1
post-extract:
${CP} ${PREFIX}/share/arm-trusted-firmware/sun50i-h6/bl31.bin ${WRKSRC}
post-build:
${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin
.include "../../sysutils/arm-trusted-firmware-sun50i-h6/buildlink3.mk"
.include "../../sysutils/u-boot/u-boot-arm64.mk"