build.sh: adapt script after 'dey-gui' distro removal
https://jira.digi.com/browse/DEL-858 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
794f9f58dc
commit
c9b82ed477
|
|
@ -50,6 +50,10 @@ INHERIT += \"rm_work\"
|
|||
RM_WORK_EXCLUDE += \"dey-image-graphical dey-image-minimal linux-dey u-boot-dey\"
|
||||
"
|
||||
|
||||
X11_REMOVAL_CFG="
|
||||
DISTRO_FEATURES_remove = \"x11\"
|
||||
"
|
||||
|
||||
REPO="$(which repo)"
|
||||
|
||||
error() {
|
||||
|
|
@ -207,6 +211,10 @@ for platform in ${DY_PLATFORMS}; do
|
|||
if [ "${DY_RM_WORK}" = "true" ]; then
|
||||
printf "${RM_WORK_CFG}" >> conf/local.conf
|
||||
fi
|
||||
# Remove 'x11' distro feature if building minimal images
|
||||
if echo "${DY_TARGET}" | grep -qs "dey-image-minimal"; then
|
||||
printf "${X11_REMOVAL_CFG}" >> conf/local.conf
|
||||
fi
|
||||
for target in ${DY_TARGET}; do
|
||||
printf "\n[INFO] Building the $target target.\n"
|
||||
time bitbake ${target}
|
||||
|
|
|
|||
Loading…
Reference in New Issue