qt5: remove vulkan package config for mx8mm platform

vulkan has a dependency of vulkan-headers package that is not available
for the mx8mm platforms.

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

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2021-04-29 20:02:40 +02:00
parent a686e1f4fa
commit 63eebccdd5
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,8 @@ SRC_URI_append_imxgpu3d = " \
'file://0016-Configure-eglfs-with-egl-pkg-config.patch', d)} \
"
PACKAGECONFIG_DEFAULT_remove_mx8mm = "vulkan"
PACKAGECONFIG += "examples"
PACKAGECONFIG_PLATFORM_IMX_GPU = ""

View File

@ -8,6 +8,8 @@ PACKAGECONFIG_remove_mx6sl = "wayland-egl"
PACKAGECONFIG_remove_mx7 = "xcomposite-egl xcomposite-glx"
PACKAGECONFIG_remove_mx8 = "xcomposite-egl xcomposite-glx"
PACKAGECONFIG_remove_mx8mm = "wayland-vulkan-server-buffer"
do_install_append() {
if ls ${D}${libdir}/pkgconfig/Qt5*.pc >/dev/null 2>&1; then
sed -i 's,-L${STAGING_DIR_HOST}/usr/lib,,' ${D}${libdir}/pkgconfig/Qt5*.pc