mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
u-boot-master: Unbreak by testing that FAMILY is defined
Reported by: dan (via freshport), portsnap builbox Approved by: imp (implicit)
This commit is contained in:
parent
0a7591375a
commit
04e629eea0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456059
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue