summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-02-10 11:10:34 -0300
committerGitHub <noreply@github.com>2022-02-10 11:10:34 -0300
commit217e58294152c828e4d084eef7daa37a2ed223c3 (patch)
tree0bc6912052392938e1faa95d1651fedf6458e09b /recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb
parent682f1826e53632fbdc12edc9f1cb47762987e382 (diff)
parent679337c55cdf061099fefde9842815a8e9c407a0 (diff)
downloadmeta-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.bb48
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.
2SUMMARY = "Samples for OpenGL ES"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50"
5DEPENDS = "imx-gpu-viv zlib libpng procps"
6
7SRC_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"
10SRCREV = "90a59407f1cddd31b4dac67e5a2500100eb091bc"
11
12S = "${WORKDIR}/git"
13
14inherit cmake pkgconfig perlnative python3native
15
16PACKAGECONFIG_BACKEND:mx6 = " \
17 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \
18 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \
19 '', d), d)} \
20"
21PACKAGECONFIG_BACKEND:mx7 = "${PACKAGECONFIG_BACKEND:mx6}"
22PACKAGECONFIG_BACKEND:mx8 = "waffle"
23
24PACKAGECONFIG_GPU2D = ""
25PACKAGECONFIG_GPU2D:imxgpu2d = "vivante"
26
27PACKAGECONFIG ??= " \
28 egl \
29 ${PACKAGECONFIG_BACKEND} \
30 ${PACKAGECONFIG_GPU2D} \
31"
32
33PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl"
34PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF"
35PACKAGECONFIG[multiarch] = "-DENABLE_MULTIARCH=ON,-DENABLE_MULTIARCH=OFF"
36PACKAGECONFIG[waffle] = "-DENABLE_WAFFLE=ON,-DENABLE_WAFFLE=OFF,waffle"
37PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF"
38PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d"
39
40SOLIBS = ".so"
41FILES_SOLIBSDEV = ""
42FILES:${PN} += " \
43 ${libdir}/apitrace/scripts/* \
44 ${libdir}/apitrace/wrappers/* \
45"
46
47PACKAGE_ARCH = "${MACHINE_SOCARCH}"
48COMPATIBLE_MACHINE = "(imxgpu)"