diff options
| -rw-r--r-- | recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb index 04d840066..9461a34d0 100644 --- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb | |||
| @@ -11,18 +11,12 @@ S = "${WORKDIR}/git" | |||
| 11 | 11 | ||
| 12 | inherit cmake pkgconfig perlnative python3native | 12 | inherit cmake pkgconfig perlnative python3native |
| 13 | 13 | ||
| 14 | PACKAGECONFIG ??= "" | 14 | PACKAGECONFIG ??= "egl waffle" |
| 15 | PACKAGECONFIG_append = \ | 15 | PACKAGECONFIG_append = \ |
| 16 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ | 16 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ |
| 17 | bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', \ | 17 | bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', \ |
| 18 | '', d), d)}" | 18 | '', d), d)}" |
| 19 | PACKAGECONFIG_append_imxgpu2d = " vivante" | 19 | PACKAGECONFIG_append_imxgpu2d = " vivante" |
| 20 | # For 8M, which has 3D but no 2D, eglretrace is not available | ||
| 21 | # on Wayland except through X11 and waffle. | ||
| 22 | PACKAGECONFIG_IMXGPU3D = \ | ||
| 23 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', ' waffle x11', '', d)}" | ||
| 24 | PACKAGECONFIG_IMXGPU3D_imxgpu2d = "" | ||
| 25 | PACKAGECONFIG_append_imxgpu3d = "${PACKAGECONFIG_IMXGPU3D}" | ||
| 26 | 20 | ||
| 27 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" | 21 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" |
| 28 | PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF" | 22 | PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF" |
