Mesa (gallium-0.2): gallium: Build EGL st when build glx st

Zack Rusin zackr at vmware.com
Thu Jan 29 20:58:16 UTC 2009


On Wednesday 28 January 2009 17:29:17 Jakob Bornecrantz wrote:
> Module: Mesa
> Branch: gallium-0.2
> Commit: 2cb6b17bc87e0c0c672104a5bf4806ab3c7e79aa
> URL:   
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cb6b17bc87e0c0c672104a5bf
>4806ab3c7e79aa
>
> Author: Jakob Bornecrantz <wallbraker at gmail.com>
> Date:   Wed Jan 28 23:06:42 2009 +0100
>
> gallium: Build EGL st when build glx st
>
> ---
>
>  src/gallium/state_trackers/Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/gallium/state_trackers/Makefile
> b/src/gallium/state_trackers/Makefile index 07b3fbf..2f96a46 100644
> --- a/src/gallium/state_trackers/Makefile
> +++ b/src/gallium/state_trackers/Makefile
> @@ -2,7 +2,7 @@ TOP = ../../..
>  include $(TOP)/configs/current
>
>
> -SUBDIRS = glx
> +SUBDIRS = glx egl

This isn't right. It means that egl which depends on drm will be tried to be 
built on all non-dri builds. So it breaks all non-drm builds e.g. linux-x86-
debug.
If you want to build egl by default at least check whether LIBDRM_CFLAGS is 
empty or not.

z




More information about the mesa-commit mailing list