From 6ce0b0e31754d88a542d4e3c90062e3f6a67f7b9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 3 Jun 2015 10:15:31 -0700 Subject: vc4: Add support for building on Android. v2: Add a comment explaining why we link libmesa_glsl. Drop warning option from freedreno. Add vc4 to the documentation for BOARD_GPU_DRIVERS. Reviewed-by: Emil Velikov --- src/gallium/targets/dri/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/targets') diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk index 1772d25..5ba129b 100644 --- a/src/gallium/targets/dri/Android.mk +++ b/src/gallium/targets/dri/Android.mk @@ -90,6 +90,10 @@ ifneq ($(filter swrast,$(MESA_GPU_DRIVERS)),) gallium_DRIVERS += libmesa_pipe_softpipe libmesa_winsys_sw_dri libmesa_winsys_sw_kms_dri LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE endif +ifneq ($(filter vc4,$(MESA_GPU_DRIVERS)),) +LOCAL_CFLAGS += -DGALLIUM_VC4 +gallium_DRIVERS += libmesa_winsys_vc4 libmesa_pipe_vc4 +endif ifneq ($(filter vmwgfx,$(MESA_GPU_DRIVERS)),) gallium_DRIVERS += libmesa_winsys_svga libmesa_pipe_svga LOCAL_CFLAGS += -DGALLIUM_VMWGFX -- cgit v1.1