aboutsummaryrefslogtreecommitdiff
path: root/sysutils/u-boot-master
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2017-12-11 18:31:35 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2017-12-11 18:31:35 +0000
commit04e629eea07e9bc7a8989f3118e64fbcc8eedce5 (patch)
tree13a30d1728df3f8b3d6b457307286c1abaa6608c /sysutils/u-boot-master
parent0a7591375a089c69962a00f770aa1b4ea1cfc77d (diff)
downloadports-04e629eea07e9bc7a8989f3118e64fbcc8eedce5.tar.gz
ports-04e629eea07e9bc7a8989f3118e64fbcc8eedce5.zip
u-boot-master: Unbreak by testing that FAMILY is defined
Reported by: dan (via freshport), portsnap builbox Approved by: imp (implicit)
Notes
Notes: svn path=/head/; revision=456059
Diffstat (limited to 'sysutils/u-boot-master')
-rw-r--r--sysutils/u-boot-master/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/u-boot-master/Makefile b/sysutils/u-boot-master/Makefile
index 493e7d328fef..e7a1e930bdfe 100644
--- a/sysutils/u-boot-master/Makefile
+++ b/sysutils/u-boot-master/Makefile
@@ -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