build.sh: Allow to build for more than one target.

https://jira.digi.com/browse/DEL-504

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2013-06-14 13:36:43 +02:00
parent 3984323bd3
commit e04b4329ab
1 changed files with 4 additions and 1 deletions

View File

@ -148,7 +148,10 @@ for platform in ${DY_PLATFORMS}; do
printf "${DIGI_PREMIRROR_CFG}" >> conf/local.conf printf "${DIGI_PREMIRROR_CFG}" >> conf/local.conf
fi fi
[ "${DY_BUILD_VARIANTS}" = "true" ] && printf "\nINHERIT += \"rm_work\"\n" >> conf/local.conf [ "${DY_BUILD_VARIANTS}" = "true" ] && printf "\nINHERIT += \"rm_work\"\n" >> conf/local.conf
time bitbake ${DY_TARGET} for target in ${DY_TARGET}; do
printf "\n[INFO] Building the $target target.\n"
time bitbake ${target}
done
) )
copy_images ${_this_img_dir} copy_images ${_this_img_dir}
popd popd