build.sh: add support to build a toolchain for CC6UL

The build script was filtering out toolchain builds for all image
recipes not starting with 'dey-image-', but for the CC6UL we are
building by default 'core-image-base', so update the regular expression
to allow building the toolchain for 'core-image-*' image recipes.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2016-07-26 19:45:30 +02:00
parent ba0834ed88
commit 02c961eb3f
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ for platform in ${DY_PLATFORMS}; do
printf "\n[INFO] Building the ${target} target.\n"
time bitbake ${target}
# Build the toolchain for DEY images
if [ "${DY_BUILD_TCHAIN}" = "true" ] && echo "${target}" | grep -qs '^dey-image-[^-]\+$'; then
if [ "${DY_BUILD_TCHAIN}" = "true" ] && echo "${target}" | grep -qs '^\(core\|dey\)-image-[^-]\+$'; then
printf "\n[INFO] Building the toolchain for ${target}.\n"
time bitbake -c populate_sdk ${target}
fi