qt6-layer: NXP: sync with meta-imx scarthgap-6.6.52-2.2.0

Part of these changes are related to the update to Qt 6.8. Slightly modify
qtquick3d_git.bbappend to mirror NXP's configuration (i.MX GPU drivers don't
support OpenXR)

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2024-12-18 16:10:14 +01:00
parent 929886eeea
commit 25f4fa7641
3 changed files with 13 additions and 5 deletions

View File

@ -9,13 +9,14 @@ IMX_BACKEND = \
IMX_BACKEND_FB = "linuxfb"
IMX_BACKEND_FB:imxgpu3d = "eglfs"
PACKAGECONFIG_GRAPHICS:imxdrm = "gbm kms"
PACKAGECONFIG_GRAPHICS:imxpxp = "${PACKAGECONFIG_GRAPHICS_IMX_DRM}"
PACKAGECONFIG_GRAPHICS_IMX_DRM = ""
PACKAGECONFIG_GRAPHICS_IMX_DRM:imxdrm = "gbm kms"
PACKAGECONFIG_GRAPHICS_IMX_GPU:mx9-nxp-bsp = " \
gbm kms"
PACKAGECONFIG_PLATFORM = "no-opengl linuxfb"
PACKAGECONFIG_PLATFORM_EGLFS:mx9-nxp-bsp = " \
eglfs"
PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = "vulkan"
PACKAGECONFIG_VULKAN_IMX_GPU:mx9-nxp-bsp = "vulkan"

View File

@ -1 +1 @@
DEPENDS += "cups libdrm"
DEPENDS += "drm"

View File

@ -0,0 +1,7 @@
# Digi: NXP enables the openxr config here to mirror the source default, only
# to disable it in a separate file (fsl-imx-base.inc) in their meta-imx-sdk
# layer. Since we don't include this layer, simply disable the config here by
# not adding it to PACKAGECONFIG.
#PACKAGECONFIG:class-target:append = " openxr"
PACKAGECONFIG[openxr] = "-DFEATURE_quick3dxr_openxr=ON,-DFEATURE_quick3dxr_openxr=OFF"