head	1.12;
access;
symbols
	pkgsrc-2026Q1:1.12.0.38
	pkgsrc-2026Q1-base:1.12
	pkgsrc-2025Q4:1.12.0.36
	pkgsrc-2025Q4-base:1.12
	pkgsrc-2025Q3:1.12.0.34
	pkgsrc-2025Q3-base:1.12
	pkgsrc-2025Q2:1.12.0.32
	pkgsrc-2025Q2-base:1.12
	pkgsrc-2025Q1:1.12.0.30
	pkgsrc-2025Q1-base:1.12
	pkgsrc-2024Q4:1.12.0.28
	pkgsrc-2024Q4-base:1.12
	pkgsrc-2024Q3:1.12.0.26
	pkgsrc-2024Q3-base:1.12
	pkgsrc-2024Q2:1.12.0.24
	pkgsrc-2024Q2-base:1.12
	pkgsrc-2024Q1:1.12.0.22
	pkgsrc-2024Q1-base:1.12
	pkgsrc-2023Q4:1.12.0.20
	pkgsrc-2023Q4-base:1.12
	pkgsrc-2023Q3:1.12.0.18
	pkgsrc-2023Q3-base:1.12
	pkgsrc-2023Q2:1.12.0.16
	pkgsrc-2023Q2-base:1.12
	pkgsrc-2023Q1:1.12.0.14
	pkgsrc-2023Q1-base:1.12
	pkgsrc-2022Q4:1.12.0.12
	pkgsrc-2022Q4-base:1.12
	pkgsrc-2022Q3:1.12.0.10
	pkgsrc-2022Q3-base:1.12
	pkgsrc-2022Q2:1.12.0.8
	pkgsrc-2022Q2-base:1.12
	pkgsrc-2022Q1:1.12.0.6
	pkgsrc-2022Q1-base:1.12
	pkgsrc-2021Q4:1.12.0.4
	pkgsrc-2021Q4-base:1.12
	pkgsrc-2021Q3:1.12.0.2
	pkgsrc-2021Q3-base:1.12
	pkgsrc-2021Q2:1.11.0.14
	pkgsrc-2021Q2-base:1.11
	pkgsrc-2021Q1:1.11.0.12
	pkgsrc-2021Q1-base:1.11
	pkgsrc-2020Q4:1.11.0.10
	pkgsrc-2020Q4-base:1.11
	pkgsrc-2020Q3:1.11.0.8
	pkgsrc-2020Q3-base:1.11
	pkgsrc-2020Q2:1.11.0.6
	pkgsrc-2020Q2-base:1.11
	pkgsrc-2020Q1:1.11.0.2
	pkgsrc-2020Q1-base:1.11
	pkgsrc-2019Q4:1.11.0.4
	pkgsrc-2019Q4-base:1.11
	pkgsrc-2019Q3:1.10.0.4
	pkgsrc-2019Q3-base:1.10
	pkgsrc-2019Q2:1.10.0.2
	pkgsrc-2019Q2-base:1.10
	pkgsrc-2019Q1:1.7.0.2
	pkgsrc-2019Q1-base:1.7
	pkgsrc-2018Q4:1.5.0.6
	pkgsrc-2018Q4-base:1.5
	pkgsrc-2018Q3:1.5.0.4
	pkgsrc-2018Q3-base:1.5
	pkgsrc-2018Q2:1.5.0.2
	pkgsrc-2018Q2-base:1.5
	pkgsrc-2018Q1:1.3.0.2
	pkgsrc-2018Q1-base:1.3
	pkgsrc-2017Q4:1.2.0.2
	pkgsrc-2017Q4-base:1.2
	pkgsrc-2017Q3:1.1.0.4
	pkgsrc-2017Q3-base:1.1;
locks; strict;
comment	@# @;


1.12
date	2021.08.12.07.30.22;	author wiz;	state Exp;
branches;
next	1.11;
commitid	JmCE6U69x1GjyE4D;

1.11
date	2019.11.04.21.28.57;	author rillig;	state Exp;
branches;
next	1.10;
commitid	P8zvC5DaquV1ZzJB;

1.10
date	2019.05.07.14.06.25;	author thorpej;	state Exp;
branches;
next	1.9;
commitid	tahuoYrGljA8mhmB;

1.9
date	2019.04.26.08.32.30;	author skrll;	state Exp;
branches;
next	1.8;
commitid	lxK7a3tMZoQmRPkB;

1.8
date	2019.04.12.07.08.18;	author skrll;	state Exp;
branches;
next	1.7;
commitid	0hi3YnisqxdcQ1jB;

1.7
date	2019.03.15.14.00.36;	author martin;	state Exp;
branches;
next	1.6;
commitid	GdsvqB6Z6HKX1tfB;

1.6
date	2018.12.31.15.06.46;	author jmcneill;	state Exp;
branches;
next	1.5;
commitid	v60HKpeTFjZNKX5B;

1.5
date	2018.05.25.10.45.24;	author jmcneill;	state Exp;
branches;
next	1.4;
commitid	asIaF1oVbj5OoFDA;

1.4
date	2018.04.05.19.13.57;	author joerg;	state Exp;
branches;
next	1.3;
commitid	RGAwkPbmE89QOhxA;

1.3
date	2018.02.18.16.25.45;	author jmcneill;	state Exp;
branches;
next	1.2;
commitid	YeixQmz4e2PFmmrA;

1.2
date	2017.12.18.23.31.21;	author jmcneill;	state Exp;
branches;
next	1.1;
commitid	QoDgueqcktbxIqjA;

1.1
date	2017.09.07.15.37.21;	author jmcneill;	state Exp;
branches;
next	;
commitid	OJdEyZkLgQAQmh6A;


desc
@@


1.12
log
@u-boot*: fix more pkglint
@
text
@# $NetBSD: Makefile,v 1.11 2019/11/04 21:28:57 rillig Exp $

UBOOT_TARGET=		pine64
UBOOT_CONFIG=		pine64_plus_defconfig
UBOOT_BIN=		u-boot-sunxi-with-spl.bin

UBOOT_INSTALLBOOT_PLIST=	installboot.plist

PKGREVISION=		5

# Switch to EL1 before booting kernel (required for 32-bit support)
PKG_DEFAULT_OPTIONS+=	el1

post-extract:
	${CP} ${PREFIX}/share/arm-trusted-firmware/sun50i_a64/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_a64/buildlink3.mk"
.include "../../sysutils/u-boot/u-boot-arm64.mk"
.include "../../mk/bsd.pkg.mk"
@


1.11
log
@sysutils: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

Manually excluded consolekit and dc-tools since pkglint didn't get the
formatting correct.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2019/05/07 14:06:25 thorpej Exp $
d22 1
@


1.10
log
@Add installboot(8) overlays for the sunxi u-boot packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2019/04/26 08:32:30 skrll Exp $
d7 1
a7 1
UBOOT_INSTALLBOOT_PLIST=installboot.plist
@


1.9
log
@Call cleanup_before_linux in efi_exit_boot so ensure caches are clean, etc

Bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2019/04/12 07:08:18 skrll Exp $
d7 3
a9 1
PKGREVISION=		4
@


1.8
log
@Backport a patch from u-boot mainline to support EFI GetVariable.

Add PKGREVISION to the UBOOT_VERSTION output

Bump PKGREVISION for all 2018.11 packages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2019/03/15 14:00:36 martin Exp $
d7 1
a7 1
PKGREVISION=		3
@


1.7
log
@Move to mainline ARM trusted firmware, bump rev.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2018/12/31 15:06:46 jmcneill Exp $
d7 1
a7 1
PKGREVISION=		2
@


1.6
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2018/05/25 10:45:24 jmcneill Exp $
d7 1
a7 1
PKGREVISION=		1
d13 1
a13 1
	${CP} ${PREFIX}/share/arm-trusted-firmware/sun50iw1p1/bl31.bin ${WRKSRC}
d18 1
a18 1
.include "../../sysutils/arm-trusted-firmware-sun50iw1p1/buildlink3.mk"
@


1.5
log
@Update U-Boot to 2018.05.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2018/04/05 19:13:57 joerg Exp $
d7 2
@


1.4
log
@Create u-boot-sunxi-with-spl.bin like u-boot-pinebook, fixing the build.

From jmcneill.
@
text
@d1 1
a1 3
# $NetBSD: Makefile,v 1.3 2018/02/18 16:25:45 jmcneill Exp $

PKGREVISION=		3
@


1.3
log
@Add buildlink3.mk for sun50iw1p1 ATF and use it. Bump pkg revision where
necessary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/12/18 23:31:21 jmcneill Exp $
d16 1
a16 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} u-boot-sunxi-with-spl.bin
@


1.2
log
@Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/09/07 15:37:21 jmcneill Exp $
d3 1
a3 1
PKGREVISION=		2
a14 2
BUILD_DEPENDS+=		arm-trusted-firmware-sun50iw1p1-[0-9]*:../../sysutils/arm-trusted-firmware-sun50iw1p1

d16 1
a16 1
	${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin
d18 1
@


1.1
log
@Rename u-boot-pine64-plus to u-boot-pine64. This package includes support
for both board variants. While here, enable el1 package option by default
so we can boot 32-bit kernels.
@
text
@d1 3
a3 1
# $NetBSD: Makefile,v 1.1 2017/09/01 21:04:09 jmcneill Exp $
@

