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:
parent
0945a9be13
commit
9f9f2da8f2
|
|
@ -36,8 +36,8 @@ ZIP_INSTALLER_CFG="
|
||||||
DEY_IMAGE_INSTALLER = \"1\"
|
DEY_IMAGE_INSTALLER = \"1\"
|
||||||
"
|
"
|
||||||
|
|
||||||
X11_REMOVAL_CFG="
|
BACKEND_REMOVAL_CFG="
|
||||||
DISTRO_FEATURES_remove = \"x11\"
|
DISTRO_FEATURES_remove = \"x11 wayland vulkan\"
|
||||||
"
|
"
|
||||||
|
|
||||||
REPO="$(which repo)"
|
REPO="$(which repo)"
|
||||||
|
|
@ -175,9 +175,9 @@ for platform in ${DY_PLATFORMS}; do
|
||||||
conf/local.conf
|
conf/local.conf
|
||||||
printf "${RM_WORK_CFG}" >> conf/local.conf
|
printf "${RM_WORK_CFG}" >> conf/local.conf
|
||||||
printf "${ZIP_INSTALLER_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
|
if [ "${DY_FB_IMAGE}" = "true" ]; then
|
||||||
printf "${X11_REMOVAL_CFG}" >> conf/local.conf
|
printf "${BACKEND_REMOVAL_CFG}" >> conf/local.conf
|
||||||
fi
|
fi
|
||||||
for target in ${platform_targets}; do
|
for target in ${platform_targets}; do
|
||||||
printf "\n[INFO] Building the ${target} target.\n"
|
printf "\n[INFO] Building the ${target} target.\n"
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,8 @@ ZIP_INSTALLER_CFG="
|
||||||
DEY_IMAGE_INSTALLER = \"1\"
|
DEY_IMAGE_INSTALLER = \"1\"
|
||||||
"
|
"
|
||||||
|
|
||||||
X11_REMOVAL_CFG="
|
BACKEND_REMOVAL_CFG="
|
||||||
DISTRO_FEATURES_remove = \"x11\"
|
DISTRO_FEATURES_remove = \"x11 wayland vulkan\"
|
||||||
"
|
"
|
||||||
|
|
||||||
REPO="$(which repo)"
|
REPO="$(which repo)"
|
||||||
|
|
@ -254,9 +254,9 @@ for platform in ${DY_PLATFORMS}; do
|
||||||
printf "${RM_WORK_CFG}" >> conf/local.conf
|
printf "${RM_WORK_CFG}" >> conf/local.conf
|
||||||
fi
|
fi
|
||||||
printf "${ZIP_INSTALLER_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
|
if [ "${DY_FB_IMAGE}" = "true" ]; then
|
||||||
printf "${X11_REMOVAL_CFG}" >> conf/local.conf
|
printf "${BACKEND_REMOVAL_CFG}" >> conf/local.conf
|
||||||
fi
|
fi
|
||||||
# Append extra configuration macros if provided from build environment
|
# Append extra configuration macros if provided from build environment
|
||||||
if [ -n "${DY_EXTRA_LOCAL_CONF}" ]; then
|
if [ -n "${DY_EXTRA_LOCAL_CONF}" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue