Skip to contentSkip to conversation

package/piglit: fix build of GLES tests

PATCH New Fabrice Fontaine 2 participants 2 messages Aug 14, 2019 – Aug 15, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/piglit: fix build of GLES tests

GLES tests needs libegl so:
- check for BR2_PACKAGE_HAS_LIBEGL to enable them
- add libegl to PIGLIT_DEPENDENCIES if needed

Fixes:
- http://autobuild.buildroot.org/results/3c2b7fb1e54dd52a5fd9c1024b8258e02063bd2c

---
 package/piglit/piglit.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/piglit/piglit.mk +2 -1
index 5ab81aba41..4f95e77cfd 100644
@@ -53,7 +53,8 @@ else
 PIGLIT_CONF_OPTS += -DPIGLIT_BUILD_GLX_TESTS=OFF
 endif
 
-ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
+ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_HAS_LIBGLES),yy)
+PIGLIT_DEPENDENCIES += libegl
 PIGLIT_CONF_OPTS += -DPIGLIT_BUILD_GLES1_TESTS=ON \
 	-DPIGLIT_BUILD_GLES2_TESTS=ON \
 	-DPIGLIT_BUILD_GLES3_TESTS=ON
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/piglit: fix build of GLES tests

Quoted 11 lines · On Wed, 14 Aug 2019 23:58:43 +0200 Fabrice Fontaine…

GLES tests needs libegl so:
- check for BR2_PACKAGE_HAS_LIBEGL to enable them
- add libegl to PIGLIT_DEPENDENCIES if needed

Fixes:
- http://autobuild.buildroot.org/results/3c2b7fb1e54dd52a5fd9c1024b8258e02063bd2c

---
 package/piglit/piglit.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com