]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-apitrace: Add config options for EGL and GUI
authorTom Hochstein <tom.hochstein@nxp.com>
Fri, 17 Apr 2020 00:04:27 +0000 (19:04 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 24 Apr 2020 12:27:46 +0000 (09:27 -0300)
Also, remove x11-egl option since it is a derivative of egl, x11, and
waffle, and is no longer needed.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb

index a7b58a7c34833e91747eb6dfa2b06a9e6ccb5567..04d8400668920db607c7e365d8dab19c3d32bc05 100644 (file)
@@ -20,14 +20,15 @@ PACKAGECONFIG_append_imxgpu2d = " vivante"
 # For 8M, which has 3D but no 2D, eglretrace is not available
 # on Wayland except through X11 and waffle.
 PACKAGECONFIG_IMXGPU3D = \
-    "${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', ' waffle x11 x11-egl', '', d)}"
+    "${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', ' waffle x11', '', d)}"
 PACKAGECONFIG_IMXGPU3D_imxgpu2d = ""
 PACKAGECONFIG_append_imxgpu3d = "${PACKAGECONFIG_IMXGPU3D}"
 
+PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl"
+PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF"
 PACKAGECONFIG[multiarch] = "-DENABLE_MULTIARCH=ON,-DENABLE_MULTIARCH=OFF"
 PACKAGECONFIG[waffle] = "-DENABLE_WAFFLE=ON,-DENABLE_WAFFLE=OFF,waffle"
 PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF"
-PACKAGECONFIG[x11-egl] = "-Dwaffle_has_x11_egl=ON,-Dwaffle_has_x11_egl=OFF"
 PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d"
 
 SOLIBS = ".so"