build.sh: add support for building ccimx8x framebuffer images

Add wayland and vulkan to the distro features that get removed alongside x11.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2018-09-06 18:24:48 +02:00
parent 0945a9be13
commit 9f9f2da8f2
2 changed files with 8 additions and 8 deletions

View File

@ -36,8 +36,8 @@ ZIP_INSTALLER_CFG="
DEY_IMAGE_INSTALLER = \"1\"
"
X11_REMOVAL_CFG="
DISTRO_FEATURES_remove = \"x11\"
BACKEND_REMOVAL_CFG="
DISTRO_FEATURES_remove = \"x11 wayland vulkan\"
"
REPO="$(which repo)"
@ -175,9 +175,9 @@ for platform in ${DY_PLATFORMS}; do
conf/local.conf
printf "${RM_WORK_CFG}" >> conf/local.conf
printf "${ZIP_INSTALLER_CFG}" >> conf/local.conf
# Remove 'x11' distro feature if building framebuffer images
# Remove all desktop backend distro features if building framebuffer images
if [ "${DY_FB_IMAGE}" = "true" ]; then
printf "${X11_REMOVAL_CFG}" >> conf/local.conf
printf "${BACKEND_REMOVAL_CFG}" >> conf/local.conf
fi
for target in ${platform_targets}; do
printf "\n[INFO] Building the ${target} target.\n"

View File

@ -49,8 +49,8 @@ ZIP_INSTALLER_CFG="
DEY_IMAGE_INSTALLER = \"1\"
"
X11_REMOVAL_CFG="
DISTRO_FEATURES_remove = \"x11\"
BACKEND_REMOVAL_CFG="
DISTRO_FEATURES_remove = \"x11 wayland vulkan\"
"
REPO="$(which repo)"
@ -254,9 +254,9 @@ for platform in ${DY_PLATFORMS}; do
printf "${RM_WORK_CFG}" >> conf/local.conf
fi
printf "${ZIP_INSTALLER_CFG}" >> conf/local.conf
# Remove 'x11' distro feature if building framebuffer images
# Remove all desktop backend distro features if building framebuffer images
if [ "${DY_FB_IMAGE}" = "true" ]; then
printf "${X11_REMOVAL_CFG}" >> conf/local.conf
printf "${BACKEND_REMOVAL_CFG}" >> conf/local.conf
fi
# Append extra configuration macros if provided from build environment
if [ -n "${DY_EXTRA_LOCAL_CONF}" ]; then