[Mesa-dev] [PATCH] Android: gallium/radeon: fix libmesa_amd_common dependency

Marek Olšák maraeo at gmail.com
Mon Dec 4 15:13:27 UTC 2017


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Sat, Dec 2, 2017 at 1:36 PM, Mauro Rossi <issor.oruam at gmail.com> wrote:
> libmesa_amd_common static dependency is added in Android build
> to avoid the following building errors:
>
> In file included from external/mesa/src/gallium/drivers/radeon/r600_buffer_common.c:24:
> In file included from external/mesa/src/gallium/drivers/radeonsi/si_pipe.h:26:
> external/mesa/src/gallium/drivers/radeonsi/si_shader.h:138:10: fatal error: 'ac_binary.h' file not found
>          ^~~~~~~~~~~~~
> 1 error generated.
> ...
> In file included from external/mesa/src/gallium/drivers/radeon/r600_gpu_load.c:34:
> In file included from external/mesa/src/gallium/drivers/radeonsi/si_pipe.h:26:
> external/mesa/src/gallium/drivers/radeonsi/si_shader.h:138:10: fatal error: 'ac_binary.h' file not found
>          ^~~~~~~~~~~~~
> 1 error generated.
>
> Fixes: 950221f923 ("radeonsi: remove r600_common_screen")
> ---
>  src/gallium/drivers/radeon/Android.mk | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/radeon/Android.mk b/src/gallium/drivers/radeon/Android.mk
> index 578ab0be91..5efc2033f5 100644
> --- a/src/gallium/drivers/radeon/Android.mk
> +++ b/src/gallium/drivers/radeon/Android.mk
> @@ -30,6 +30,7 @@ include $(CLEAR_VARS)
>
>  LOCAL_SRC_FILES := $(C_SOURCES)
>
> +LOCAL_STATIC_LIBRARIES := libmesa_amd_common
>  LOCAL_SHARED_LIBRARIES := libdrm_radeon
>  LOCAL_MODULE := libmesa_pipe_radeon
>
> --
> 2.14.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list