xref: /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.11.0.bb (revision 8460358c3d24c71d9d38fd126c745854a6301564)
1*8460358cSPatrick WilliamsDESCRIPTION = "OpenGL CTS"
2*8460358cSPatrick Williams
3*8460358cSPatrick Williamsrequire khronos-cts.inc
4*8460358cSPatrick Williams
5*8460358cSPatrick WilliamsSRCREV_vk-gl-cts = "66956d195169596472e956e3aebf2df8e3bd960d"
6*8460358cSPatrick Williams
7*8460358cSPatrick Williamsrequire opengl-es-cts-sources.inc
8*8460358cSPatrick Williams
9*8460358cSPatrick WilliamsEXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="cts-runner deqp-egl deqp-gles2 deqp-gles3 deqp-gles31 deqp-gl-shared de-internal-tests glcts""
10*8460358cSPatrick Williams
11*8460358cSPatrick Williamsdo_install() {
12*8460358cSPatrick Williams	install -d ${D}/${CTSDIR}
13*8460358cSPatrick Williams	cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR}
14*8460358cSPatrick Williams
15*8460358cSPatrick Williams	install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR}
16*8460358cSPatrick Williams	install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR}
17*8460358cSPatrick Williams	install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR}
18*8460358cSPatrick Williams	install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR}
19*8460358cSPatrick Williams	install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR}
20*8460358cSPatrick Williams
21*8460358cSPatrick Williams	rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
22*8460358cSPatrick Williams	rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
23*8460358cSPatrick Williams	rm -rf ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles
24*8460358cSPatrick Williams}
25*8460358cSPatrick Williams
26*8460358cSPatrick WilliamsSECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}"
27*8460358cSPatrick WilliamsLTO = ""
28