* [Buildroot] [PATCH 1/1] package/piglit: fix build of GLES tests
@ 2019-08-14 21:58 Fabrice Fontaine
2019-08-15 13:06 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-08-14 21:58 UTC (permalink / raw)
To: buildroot
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
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/piglit/piglit.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/piglit/piglit.mk b/package/piglit/piglit.mk
index 5ab81aba41..4f95e77cfd 100644
--- a/package/piglit/piglit.mk
+++ b/package/piglit/piglit.mk
@@ -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
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/piglit: fix build of GLES tests
2019-08-14 21:58 [Buildroot] [PATCH 1/1] package/piglit: fix build of GLES tests Fabrice Fontaine
@ 2019-08-15 13:06 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-08-15 13:06 UTC (permalink / raw)
To: buildroot
On Wed, 14 Aug 2019 23:58:43 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> 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
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/piglit/piglit.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-15 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14 21:58 [Buildroot] [PATCH 1/1] package/piglit: fix build of GLES tests Fabrice Fontaine
2019-08-15 13:06 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.