diff --git a/sdk/build.sh b/sdk/build.sh index d4d7452d3..e0b9a7c7c 100755 --- a/sdk/build.sh +++ b/sdk/build.sh @@ -17,6 +17,7 @@ # DY_BUILD_VARIANTS: Build all platform variants # DY_PLATFORMS: Platforms to build # DY_REVISION: Revision of the manifest repository (for 'repo init') +# DY_TARGET: Target image (the default is 'del-image-minimal') # DY_USE_MIRROR: Use internal Digi mirror to download packages # #=============================================================================== @@ -65,6 +66,7 @@ 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" @@ -134,7 +136,7 @@ for platform in ${DY_PLATFORMS}; do conf/local.conf [ "${DY_USE_MIRROR}" = "true" ] && printf "${DIGI_PREMIRROR_CFG}" >> conf/local.conf [ "${DY_BUILD_VARIANTS}" = "true" ] && printf "\nINHERIT += \"rm_work\"\n" >> conf/local.conf - time bitbake del-image-minimal + time bitbake ${DY_TARGET} ) copy_images ${_this_img_dir} popd