pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot Add support for installboot(8) overlays.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c746fdbc07d
branches:  trunk
changeset: 333478:1c746fdbc07d
user:      thorpej <thorpej%pkgsrc.org@localhost>
date:      Tue May 07 14:05:36 2019 +0000

description:
Add support for installboot(8) overlays.

diffstat:

 sysutils/u-boot/Makefile  |  4 ++--
 sysutils/u-boot/u-boot.mk |  6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r a32b7e24366e -r 1c746fdbc07d sysutils/u-boot/Makefile
--- a/sysutils/u-boot/Makefile  Tue May 07 12:36:26 2019 +0000
+++ b/sysutils/u-boot/Makefile  Tue May 07 14:05:36 2019 +0000
@@ -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 -r a32b7e24366e -r 1c746fdbc07d sysutils/u-boot/u-boot.mk
--- a/sysutils/u-boot/u-boot.mk Tue May 07 12:36:26 2019 +0000
+++ b/sysutils/u-boot/u-boot.mk Tue May 07 14:05:36 2019 +0000
@@ -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 @@
        ${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"



Home | Main Index | Thread Index | Old Index