diff options
Diffstat (limited to 'recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb')
-rw-r--r-- | recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb index 7d97f4755..5dea367a9 100644 --- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | |||
@@ -9,28 +9,20 @@ SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_1 | |||
9 | " | 9 | " |
10 | SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b" | 10 | SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | inherit cmake pkgconfig perlnative python3native | 12 | inherit cmake pkgconfig perlnative python3native |
15 | 13 | ||
16 | PACKAGECONFIG_BACKEND:mx6-nxp-bsp = " \ | ||
17 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ | ||
18 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | ||
19 | '', d), d)} \ | ||
20 | " | ||
21 | PACKAGECONFIG_BACKEND:mx7-nxp-bsp = "${PACKAGECONFIG_BACKEND:mx6-nxp-bsp}" | ||
22 | PACKAGECONFIG_BACKEND:mx8-nxp-bsp = "waffle" | ||
23 | PACKAGECONFIG_BACKEND:mx95-nxp-bsp = "waffle" | ||
24 | |||
25 | PACKAGECONFIG_GPU2D = "" | ||
26 | PACKAGECONFIG_GPU2D:imxgpu2d = "vivante" | ||
27 | PACKAGECONFIG_GPU2D:mx95-nxp-bsp = "" | ||
28 | |||
29 | PACKAGECONFIG ??= " \ | 14 | PACKAGECONFIG ??= " \ |
30 | egl \ | 15 | egl \ |
31 | ${PACKAGECONFIG_BACKEND} \ | 16 | ${PACKAGECONFIG_BACKEND} \ |
32 | ${PACKAGECONFIG_GPU2D} \ | 17 | ${PACKAGECONFIG_GPU2D} \ |
33 | " | 18 | " |
19 | PACKAGECONFIG_BACKEND = " \ | ||
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ | ||
21 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | ||
22 | '', d), d)} \ | ||
23 | " | ||
24 | PACKAGECONFIG_GPU2D = "" | ||
25 | PACKAGECONFIG_GPU2D:imxviv:imxgpu2d = "vivante" | ||
34 | 26 | ||
35 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" | 27 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" |
36 | PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF" | 28 | PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF" |