Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 18:31:35 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456059 - head/sysutils/u-boot-master
Message-ID:  <201712111831.vBBIVZPb087165@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712111831.vBBIVZPb087165>