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:
parent
3984323bd3
commit
e04b4329ab
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue