diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2020-04-16 19:09:45 -0500 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-04-24 09:27:46 -0300 |
| commit | 3d78ac39525d676ac632dc805831e26293a12b32 (patch) | |
| tree | 358819bc3e6e455ebbb9a9e7f5089c768f79fc0a | |
| parent | 21599627776a4b5b562121960b66103eb57a3295 (diff) | |
| download | meta-freescale-3d78ac39525d676ac632dc805831e26293a12b32.tar.gz | |
imx-gpu-apitrace: Enable egl and waffle
Add egl and waffle as common configuration. The unique configuration
for 8M and 8M Nano is no longer required.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| -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" |
