From db55ff5a32be7c710463a92b8acff03384977a1d Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Wed, 22 May 2013 17:40:58 +0200 Subject: [PATCH] build.sh: Changes from review. http://fisheye.digi.com:8060/cru/CR-DEL-28#CFR-517 Signed-off-by: Alex Gonzalez --- sdk/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/build.sh b/sdk/build.sh index e0b9a7c7c..73e308054 100755 --- a/sdk/build.sh +++ b/sdk/build.sh @@ -66,10 +66,12 @@ copy_images() { [ -z "${DY_BUILD_VARIANTS}" ] && error "DY_BUILD_VARIANTS not specified" [ -z "${DY_PLATFORMS}" ] && error "DY_PLATFORMS not specified" [ -z "${DY_REVISION}" ] && error "DY_REVISION not specified" -[ -z "${DY_TARGET}" ] && DY_TARGET="del-image-minimal" [ -z "${DY_USE_MIRROR}" ] && error "DY_USE_MIRROR not specified" [ -z "${WORKSPACE}" ] && error "WORKSPACE not specified" +# Set default build target if Jenkins does not set it +[ -z "${DY_TARGET}" ] && DY_TARGET="del-image-minimal" + # Per-platform variants while read _pl _var; do [ "${DY_BUILD_VARIANTS}" = "false" ] && _var="DONTBUILDVARIANTS"