svn commit: r456059 - head/sysutils/u-boot-master

Emmanuel Vadot manu at FreeBSD.org
Mon Dec 11 18:31:36 UTC 2017


Author: manu (src committer)
Date: Mon Dec 11 18:31:35 2017
New Revision: 456059
URL: https://svnweb.freebsd.org/changeset/ports/456059

Log:
  u-boot-master: Unbreak by testing that FAMILY is defined
  
  Reported by:	dan (via freshport), portsnap builbox
  Approved by:	imp (implicit)

Modified:
  head/sysutils/u-boot-master/Makefile

Modified: head/sysutils/u-boot-master/Makefile
==============================================================================
--- head/sysutils/u-boot-master/Makefile	Mon Dec 11 18:26:13 2017	(r456058)
+++ head/sysutils/u-boot-master/Makefile	Mon Dec 11 18:31:35 2017	(r456059)
@@ -99,7 +99,7 @@ UBOOT_MOVE=${UBOOT_MOVE_${FAMILY:tu}}
 .endif
 
 # Per family dependancies
-.if ${FAMILY} == allwinner64
+.if defined(FAMILY) && ${FAMILY} == allwinner64
 BUILD_DEPENDS+=	${LOCALBASE}/share/atf-allwinner/bl31.bin:sysutils/atf-allwinner
 MAKE_ENV+=	BL31=${LOCALBASE}/share/atf-allwinner/bl31.bin
 .endif
@@ -115,7 +115,7 @@ do-configure:
 
 # U-Boot for Allwinner 64bits SoCs is splited in two parts
 # Generate a single binary to ease deployement on sdcard
-.if ${FAMILY} == allwinner64
+.if defined(FAMILY) && ${FAMILY} == allwinner64
 post-build:
 	${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin
 .endif


More information about the svn-ports-head mailing list