From 21599627776a4b5b562121960b66103eb57a3295 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Thu, 16 Apr 2020 19:04:27 -0500 Subject: [PATCH] imx-gpu-apitrace: Add config options for EGL and GUI 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 --- recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 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 a7b58a7c..04d84006 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 @@ -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" -- 2.40.1