Android: add renderonly files to libmesa_gallium
authorRob Herring <robh@kernel.org>
Mon, 26 Jun 2017 21:23:00 +0000 (16:23 -0500)
committerEric Anholt <eric@anholt.net>
Mon, 26 Jun 2017 23:10:42 +0000 (16:10 -0700)
vc4 now depends on renderonly functions, but these weren't added to the
Android build resulting in the following errors:

src/gallium/drivers/vc4/vc4_resource.c:380: error: undefined reference to 'renderonly_scanout_destroy'
src/gallium/drivers/vc4/vc4_resource.c:681: error: undefined reference to 'renderonly_create_gpu_import_for_resource'
src/gallium/drivers/vc4/vc4_screen.c:625: error: undefined reference to 'renderonly_dup'
src/gallium/winsys/pl111/drm/pl111_drm_winsys.c:37: error: undefined reference to 'renderonly_create_gpu_import_for_resource'
src/gallium/winsys/pl111/drm/pl111_drm_winsys.c:37: error: undefined reference to 'renderonly_create_gpu_import_for_resource'

Fixes: 7029ec05e2c7 ("gallium: Add renderonly-based support for pl111+vc4.")
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/Android.mk

index e2a1fc214eb7b01c68ab6de5975696d9f26dfa95..356390dfde6f9726df5e426afbfa37417d64376b 100644 (file)
@@ -31,6 +31,7 @@ include $(CLEAR_VARS)
 LOCAL_SRC_FILES := \
        $(C_SOURCES) \
        $(NIR_SOURCES) \
+       $(RENDERONLY_SOURCES) \
        $(VL_STUB_SOURCES)
 
 LOCAL_C_INCLUDES := \