pkgsrc/sysutils/u-boot-pinebook/Makefile
martin 22601c2c1a Remove el1 suggested option (we have a 64bit kernel).
Avoid portability warning on a script not needed for this build.
2018-11-09 12:00:16 +00:00

27 lines
963 B
Makefile

# $NetBSD: Makefile,v 1.10 2018/11/09 12:00:16 martin Exp $
UBOOT_VERSION= 2018.11rc3
UBOOT_TARGET= pinebook
UBOOT_CONFIG= pinebook_defconfig
UBOOT_BIN= u-boot-sunxi-with-spl.bin
# Use anarsoul's fork of mainline U-Boot with Pinebook support patched in
MASTER_SITES= ${MASTER_SITE_GITHUB:=anarsoul/}
GITHUB_PROJECT= u-boot-pine64
GITHUB_TAG= 88eea875b3b82a0e50cbb112e0aea2259dc2e011
DISTNAME= u-boot-${UBOOT_TARGET}-${UBOOT_VERSION}
EXTRACT_SUFX= .tar.gz
DISTINFO_FILE= ${.CURDIR}/../../sysutils/u-boot-pinebook/distinfo
PATCHDIR= ${.CURDIR}/../../sysutils/u-boot-pinebook/patches
post-extract:
${CP} ${PREFIX}/share/arm-trusted-firmware/sun50iw1p1/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-sun50iw1p1/buildlink3.mk"
.include "../../sysutils/u-boot/u-boot-arm64.mk"
CHECK_PORTABILITY_SKIP+=tools/imx_cntr_image.sh