Set STAGE_TARGETS only if RELEASEDIR exists.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
gjb 2015-05-26 17:40:36 +00:00
parent 6e843aaf85
commit 8e21d8b251

View File

@ -16,7 +16,9 @@
RELEASEDIR?= /R
FTPDIR?= ${RELEASEDIR}/ftp-stage
.if exists(${RELEASEDIR})
STAGE_TARGETS?= iso-images-stage
.endif
.if (defined(EMBEDDED_TARGET) && !empty(EMBEDDED_TARGET)) || (defined(EMBEDDEDBUILD) && !empty(EMBEDDEDBUILD))
. if ${TARGET} == "arm" || ${EMBEDDED_TARGET} == "arm"