diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-02-10 11:10:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 11:10:34 -0300 |
commit | 217e58294152c828e4d084eef7daa37a2ed223c3 (patch) | |
tree | 0bc6912052392938e1faa95d1651fedf6458e09b /recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | |
parent | 682f1826e53632fbdc12edc9f1cb47762987e382 (diff) | |
parent | 679337c55cdf061099fefde9842815a8e9c407a0 (diff) | |
download | meta-freescale-217e58294152c828e4d084eef7daa37a2ed223c3.tar.gz |
Merge pull request #965 from thochstein/master
Update graphics for L5.10.72-2.2.0
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 | 48 |
1 files changed, 48 insertions, 0 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 new file mode 100644 index 00000000..c272d1b7 --- /dev/null +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | # Copyright 2018 (C) O.S. Systems Software LTDA. | ||
2 | SUMMARY = "Samples for OpenGL ES" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" | ||
5 | DEPENDS = "imx-gpu-viv zlib libpng procps" | ||
6 | |||
7 | SRC_URI = "git://source.codeaurora.org/external/imx/apitrace-imx.git;protocol=https;branch=imx_10.0 \ | ||
8 | file://0001-dlsym-workaround-glibc-2.34-build-failure.patch \ | ||
9 | " | ||
10 | SRCREV = "90a59407f1cddd31b4dac67e5a2500100eb091bc" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | inherit cmake pkgconfig perlnative python3native | ||
15 | |||
16 | PACKAGECONFIG_BACKEND:mx6 = " \ | ||
17 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ | ||
18 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | ||
19 | '', d), d)} \ | ||
20 | " | ||
21 | PACKAGECONFIG_BACKEND:mx7 = "${PACKAGECONFIG_BACKEND:mx6}" | ||
22 | PACKAGECONFIG_BACKEND:mx8 = "waffle" | ||
23 | |||
24 | PACKAGECONFIG_GPU2D = "" | ||
25 | PACKAGECONFIG_GPU2D:imxgpu2d = "vivante" | ||
26 | |||
27 | PACKAGECONFIG ??= " \ | ||
28 | egl \ | ||
29 | ${PACKAGECONFIG_BACKEND} \ | ||
30 | ${PACKAGECONFIG_GPU2D} \ | ||
31 | " | ||
32 | |||
33 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" | ||
34 | PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF" | ||
35 | PACKAGECONFIG[multiarch] = "-DENABLE_MULTIARCH=ON,-DENABLE_MULTIARCH=OFF" | ||
36 | PACKAGECONFIG[waffle] = "-DENABLE_WAFFLE=ON,-DENABLE_WAFFLE=OFF,waffle" | ||
37 | PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF" | ||
38 | PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d" | ||
39 | |||
40 | SOLIBS = ".so" | ||
41 | FILES_SOLIBSDEV = "" | ||
42 | FILES:${PN} += " \ | ||
43 | ${libdir}/apitrace/scripts/* \ | ||
44 | ${libdir}/apitrace/wrappers/* \ | ||
45 | " | ||
46 | |||
47 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
48 | COMPATIBLE_MACHINE = "(imxgpu)" | ||