[Mesa-dev] [PATCH v2 06/14] Android: Fix swrast only build

Emil Velikov emil.l.velikov at gmail.com
Thu May 4 15:15:59 UTC 2017


On 3 May 2017 at 20:35, Rob Herring <robh at kernel.org> wrote:
> A build of only swrast is broken as the Android EGL now depends on
> libdrm as does GBM. While we could make EGL conditionally depend on
> libdrm, we probably want to enable kms_dri winsys as well and that will
> need libdrm enabled. So just always enable libdrm and simplify the
> Android makefiles a bit.
>
> Signed-off-by: Rob Herring <robh at kernel.org>
> Reviewed-by: Chih-Wei Huang <cwhuang at linux.org.tw>
> ---
>  Android.common.mk                            | 2 --
>  src/gallium/auxiliary/pipe-loader/Android.mk | 7 +++----
>  src/gallium/state_trackers/dri/Android.mk    | 8 +++-----
>  3 files changed, 6 insertions(+), 11 deletions(-)
>
> diff --git a/Android.common.mk b/Android.common.mk
> index ba3d1203ac11..c9ec9ca66990 100644
> --- a/Android.common.mk
> +++ b/Android.common.mk
> @@ -100,11 +100,9 @@ endif
>
>  ifneq ($(LOCAL_IS_HOST_MODULE),true)
>  # add libdrm if there are hardware drivers
> -ifneq ($(filter-out swrast,$(MESA_GPU_DRIVERS)),)
Seems like the comment should go as well? I'll address that before pushing.

-Emil


More information about the mesa-dev mailing list