From 0bf6a813e59c6c552ce69c433b904ed365790416 Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 7 May 2019 14:05:36 +0000 Subject: Add support for installboot(8) overlays. --- sysutils/u-boot/Makefile | 4 ++-- sysutils/u-boot/u-boot.mk | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'sysutils/u-boot') diff --git a/sysutils/u-boot/Makefile b/sysutils/u-boot/Makefile index 1884efa6d8d..3223f2c2b73 100644 --- a/sysutils/u-boot/Makefile +++ b/sysutils/u-boot/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.10 2019/05/04 05:31:01 mrg Exp $ +# $NetBSD: Makefile,v 1.11 2019/05/07 14:05:36 thorpej Exp $ # .include "../../sysutils/u-boot/u-boot-version.mk" DISTNAME= u-boot-${UBOOT_VERSION} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= meta-pkgs sysutils u-boot MASTER_SITES= # empty diff --git a/sysutils/u-boot/u-boot.mk b/sysutils/u-boot/u-boot.mk index a422c7556ed..51afbc9fdb7 100644 --- a/sysutils/u-boot/u-boot.mk +++ b/sysutils/u-boot/u-boot.mk @@ -1,4 +1,4 @@ -# $NetBSD: u-boot.mk,v 1.14 2019/04/12 07:08:15 skrll Exp $ +# $NetBSD: u-boot.mk,v 1.15 2019/05/07 14:05:36 thorpej Exp $ .include "../../sysutils/u-boot/u-boot-version.mk" @@ -55,5 +55,9 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/${bin} \ ${DESTDIR}${PREFIX}/share/u-boot/${UBOOT_TARGET} .endfor +.if defined(UBOOT_INSTALLBOOT_PLIST) + ${INSTALL_DATA} ${.CURDIR}/${UBOOT_INSTALLBOOT_PLIST} \ + ${DESTDIR}${PREFIX}/share/u-boot/${UBOOT_TARGET}/installboot.plist +.endif .include "../../lang/python/tool.mk" -- cgit v1.2.3