summaryrefslogtreecommitdiff
path: root/sysutils/u-boot
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>2019-05-07 14:05:36 +0000
committerthorpej <thorpej@pkgsrc.org>2019-05-07 14:05:36 +0000
commit0bf6a813e59c6c552ce69c433b904ed365790416 (patch)
tree7cdd936a56245722abdb3faa96be0c5a2da3d474 /sysutils/u-boot
parentbad118a87a311495060de33a33880a4d7d5a2d1b (diff)
downloadpkgsrc-0bf6a813e59c6c552ce69c433b904ed365790416.tar.gz
Add support for installboot(8) overlays.
Diffstat (limited to 'sysutils/u-boot')
-rw-r--r--sysutils/u-boot/Makefile4
-rw-r--r--sysutils/u-boot/u-boot.mk6
2 files changed, 7 insertions, 3 deletions
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"