1DESCRIPTION = "OpenGL CTS"
2
3require khronos-cts.inc
4
5SRCREV_vk-gl-cts = "66956d195169596472e956e3aebf2df8e3bd960d"
6
7require opengl-es-cts-sources.inc
8
9EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="cts-runner deqp-egl deqp-gles2 deqp-gles3 deqp-gles31 deqp-gl-shared de-internal-tests glcts""
10
11do_install() {
12	install -d ${D}/${CTSDIR}
13	cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR}
14
15	install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR}
16	install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR}
17	install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR}
18	install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR}
19	install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR}
20
21	rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
22	rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
23	rm -rf ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles
24}
25
26SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}"
27LTO = ""
28