]> code.ossystems Code Review - openembedded-core.git/commit
piglit: support build piglit without x11
authorChangqing Li <changqing.li@windriver.com>
Mon, 29 Apr 2019 07:37:57 +0000 (15:37 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Apr 2019 21:29:19 +0000 (22:29 +0100)
commit2edf7a19598e10326603603dfa00ab91c9327e2d
tree19a4ef14e08108766b1a3612cd9df2e8c891286a
parent37dc4ad4a87fb9042dc3e9bb389cedc8b5acadf7
piglit: support build piglit without x11

*  test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend
   on x11, so respect the DISTRO_FEATURES, only enable it when
   x11 is enabled.
*  mesa-demos depend on libGL.so which is provide by recipe
   mesa, but when x11 is disabled, libGL.so is not generated.
   so we can only rdepend on this when x11 is enabled
*  add x11 PACKAGECONFIG to add correct config/depend/rdepend

[YOCTO #6077]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/piglit/piglit_git.bb