diff options
author | manu <manu@FreeBSD.org> | 2017-12-12 02:31:35 +0800 |
---|---|---|
committer | manu <manu@FreeBSD.org> | 2017-12-12 02:31:35 +0800 |
commit | 36a975ecf731a245725a869c18a7202597187395 (patch) | |
tree | 13a30d1728df3f8b3d6b457307286c1abaa6608c | |
parent | b4a132dab359f8319615206dcd9b053552ae7194 (diff) | |
download | freebsd-ports-gnome-36a975ecf731a245725a869c18a7202597187395.tar.gz freebsd-ports-gnome-36a975ecf731a245725a869c18a7202597187395.tar.zst freebsd-ports-gnome-36a975ecf731a245725a869c18a7202597187395.zip |
u-boot-master: Unbreak by testing that FAMILY is defined
Reported by: dan (via freshport), portsnap builbox
Approved by: imp (implicit)
-rw-r--r-- | sysutils/u-boot-master/Makefile | 4 |
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 |