Skip to content

Commit

Permalink
dynamic-layers: Update SOC overrides
Browse files Browse the repository at this point in the history
Fix dynamic layer overrides missed by the script.

Signed-off-by: Tom Hochstein <[email protected]>
  • Loading branch information
thochstein committed Mar 2, 2022
1 parent 04a7bbd commit 286385e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ python add_chromium_imx_patches() {
d.appendVar('OZONE_WAYLAND_EXTRA_PATCHES', ' ' + d.getVar('CHROMIUM_IMX_WAYLAND_PATCHES', 1))
}

COMPATIBLE_MACHINE = "(mx6)"
COMPATIBLE_MACHINE = "(mx6-nxp-bsp)"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Only _mx8 machine do provide virtual/libgbm required for any drm* flavour
DRM-REMOVE:imxgpu = "drm-gl drm-gles2"
DRM-REMOVE:imxgpu:mx8 = ""
DRM-REMOVE:imxgpu:mx8-nxp-bsp = ""
PACKAGECONFIG:remove = "${DRM-REMOVE}"
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ QT_CONFIG_FLAGS:append:imxgpu2d = " -I${STAGING_KERNEL_DIR}/include/uapi \
-DQT_QPA_EXPERIMENTAL_TOUCHEVENT=1"

# The QT_CONFIG_FLAGS can pollute *.la files with -Dxxx
do_compile:append:mx6 () {
do_compile:append:mx6-nxp-bsp () {
find lib -name "*.la" | xargs -n1 sed -i 's/-D.*=1//g'
}

6 changes: 3 additions & 3 deletions dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SRC_URI:append:imxgpu = " \
"

PACKAGECONFIG_GL_IMX_GPU = ""
PACKAGECONFIG_GL_IMX_GPU:mx8 = "gbm kms"
PACKAGECONFIG_GL_IMX_GPU:mx8-nxp-bsp = "gbm kms"

PACKAGECONFIG_GL:imxpxp = "gles2"
PACKAGECONFIG_GL:imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)} \
Expand All @@ -30,8 +30,8 @@ PACKAGECONFIG_PLATFORM:use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES
PACKAGECONFIG += "${PACKAGECONFIG_PLATFORM}"

PACKAGECONFIG_VULKAN_IMX_GPU = ""
PACKAGECONFIG_VULKAN_IMX_GPU:mx8 = "vulkan"
PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm = ""
PACKAGECONFIG_VULKAN_IMX_GPU:mx8-nxp-bsp = "vulkan"
PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = ""
PACKAGECONFIG_VULKAN = ""
PACKAGECONFIG_VULKAN:imxgpu = "${PACKAGECONFIG_VULKAN_IMX_GPU}"
PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}"
6 changes: 3 additions & 3 deletions dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# etnaviv mesa does not have glx
PACKAGECONFIG:remove:use-mainline-bsp = "xcomposite-glx"

PACKAGECONFIG:remove:mx6 = "xcomposite-egl xcomposite-glx"
PACKAGECONFIG:remove:mx7 = "xcomposite-egl xcomposite-glx"
PACKAGECONFIG:remove:mx6-nxp-bsp = "xcomposite-egl xcomposite-glx"
PACKAGECONFIG:remove:mx7-nxp-bsp = "xcomposite-egl xcomposite-glx"

# i.MX8 does never provide native x11, so required dependencies are not met
PACKAGECONFIG:remove:mx8 = "xcomposite-egl xcomposite-glx"
PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx"

0 comments on commit 286385e

Please sign in to comment.