2018-05-25 22:49:52 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2018/05/25 20:49:52 jakllsch Exp $
|
2018-01-10 01:55:27 +01:00
|
|
|
|
|
|
|
UBOOT_TARGET= nanopi-neo-plus2
|
|
|
|
UBOOT_CONFIG= nanopi_neo_plus2_defconfig
|
|
|
|
UBOOT_BIN= u-boot-sunxi-with-spl.bin
|
|
|
|
|
2018-05-25 22:49:52 +02:00
|
|
|
PKGREVISION= 1
|
|
|
|
|
2018-01-10 01:55:27 +01:00
|
|
|
# Switch to EL1 before booting kernel (required for 32-bit support)
|
2018-02-18 17:25:45 +01:00
|
|
|
#PKG_DEFAULT_OPTIONS+= el1
|
|
|
|
PKG_DEFAULT_OPTIONS+= debug
|
2018-01-10 01:55:27 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-02-18 17:25:45 +01:00
|
|
|
.include "../../sysutils/arm-trusted-firmware-sun50iw1p1/buildlink3.mk"
|
2018-01-10 01:55:27 +01:00
|
|
|
.include "../../sysutils/u-boot/u-boot-arm64.mk"
|