blob: 9c6aeb4b0c676276ddc69e245c7b18be28201b6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $NetBSD: Makefile,v 1.1 2017/09/07 15:37:21 jmcneill Exp $
UBOOT_TARGET= pine64
UBOOT_CONFIG= pine64_plus_defconfig
UBOOT_BIN= u-boot-sunxi-with-spl.bin
# Switch to EL1 before booting kernel (required for 32-bit support)
PKG_DEFAULT_OPTIONS+= el1
post-extract:
${CP} ${PREFIX}/share/arm-trusted-firmware/sun50iw1p1/bl31.bin ${WRKSRC}
BUILD_DEPENDS+= arm-trusted-firmware-sun50iw1p1-[0-9]*:../../sysutils/arm-trusted-firmware-sun50iw1p1
post-build:
${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin
.include "../../sysutils/u-boot/u-boot-arm64.mk"
|