pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot Allow packages to append options with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2e9f7c811cf
branches:  trunk
changeset: 367831:b2e9f7c811cf
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Thu Sep 07 15:29:31 2017 +0000

description:
Allow packages to append options with UBOOT_OPTIONS

diffstat:

 sysutils/u-boot/u-boot.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 5c2d33bdb9f4 -r b2e9f7c811cf sysutils/u-boot/u-boot.mk
--- a/sysutils/u-boot/u-boot.mk Thu Sep 07 15:20:55 2017 +0000
+++ b/sysutils/u-boot/u-boot.mk Thu Sep 07 15:29:31 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: u-boot.mk,v 1.3 2017/08/18 13:26:28 ryoon Exp $
+# $NetBSD: u-boot.mk,v 1.4 2017/09/07 15:29:31 jmcneill Exp $
 
 UBOOT_VERSION?=        2017.07
 PKGNAME=       u-boot-${UBOOT_TARGET}-${UBOOT_VERSION}
@@ -31,6 +31,12 @@
 
 MAKE_ENV+=     ${UBOOT_ENV}
 
+post-patch:
+.for opt in ${UBOOT_OPTIONS}
+       @echo "=> Adding ${opt} to configs/${UBOOT_CONFIG}"
+       @echo ${opt} >> ${WRKSRC}/configs/${UBOOT_CONFIG}
+.endfor
+
 do-configure:
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${UBOOT_CONFIG}
 



Home | Main Index | Thread Index | Old Index