From b4995ae4860277673c81f6028cc13413826d3e69 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Tue, 26 May 2015 17:40:36 +0000 Subject: [PATCH] Set STAGE_TARGETS only if RELEASEDIR exists. MFC after: 3 days Sponsored by: The FreeBSD Foundation --- release/Makefile.mirrors | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release/Makefile.mirrors b/release/Makefile.mirrors index 2f37a2b67ade..fb32427139a3 100644 --- a/release/Makefile.mirrors +++ b/release/Makefile.mirrors @@ -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"