pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/u-boot



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Thu Sep  7 15:29:31 UTC 2017

Modified Files:
        pkgsrc/sysutils/u-boot: u-boot.mk

Log Message:
Allow packages to append options with UBOOT_OPTIONS


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/u-boot/u-boot.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/u-boot/u-boot.mk
diff -u pkgsrc/sysutils/u-boot/u-boot.mk:1.3 pkgsrc/sysutils/u-boot/u-boot.mk:1.4
--- pkgsrc/sysutils/u-boot/u-boot.mk:1.3        Fri Aug 18 13:26:28 2017
+++ pkgsrc/sysutils/u-boot/u-boot.mk    Thu Sep  7 15:29:31 2017
@@ -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 @@ REPLACE_FILES.python2=       scripts/fill_scra
 
 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