mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
piglit: enable OpenCL support if distro has enabled it
Enable 'opencl' PACKAGECONFIG if it is also set in DISTRO_FEATURES. Cc: Ryan Eatmon <reatmon@ti.com> (From OE-Core rev: 2f2ca84a738f7e40ef139e57a2a03450640153dd) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
365e8a69d7
commit
df6bba8ab6
@@ -38,7 +38,7 @@ do_compile[dirs] =+ "${B}/temp/"
|
||||
|
||||
PACKAGECONFIG ??= " \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 glx', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'opencl wayland', d)} \
|
||||
"
|
||||
PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut,"
|
||||
PACKAGECONFIG[glx] = "-DPIGLIT_BUILD_GLX_TESTS=ON,-DPIGLIT_BUILD_GLX_TESTS=OFF"
|
||||
|
||||
Reference in New Issue
Block a user