[Mesa-dev] [PATCH] svga: fix git_sha1.h include path in Android.mk

Emil Velikov emil.l.velikov at gmail.com
Mon May 29 12:30:01 UTC 2017


On 26 May 2017 at 16:15, Mauro Rossi <issor.oruam at gmail.com> wrote:
> Fixes the following building error:
>
> external/mesa/src/gallium/drivers/svga/svga_screen.c:26:10:
> fatal error: 'git_sha1.h' file not found
>          ^
> 1 error generated.
Mauro please add

Fixes: 1ce3a2723f9 ("svga: Add the ability to log messages to
vmware.log on the host.")

> ---
>  src/gallium/drivers/svga/Android.mk | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/svga/Android.mk b/src/gallium/drivers/svga/Android.mk
> index c50743d509..d19bd59bfe 100644
> --- a/src/gallium/drivers/svga/Android.mk
> +++ b/src/gallium/drivers/svga/Android.mk
> @@ -30,7 +30,9 @@ include $(CLEAR_VARS)
>
>  LOCAL_SRC_FILES := $(C_SOURCES)
>
> -LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
> +LOCAL_C_INCLUDES := \
> +       $(LOCAL_PATH)/include \
> +       $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_dricore,,)/main
>
Haven't looked too closely on the discussion, so pardon if it's
mentioned already.

Have you considered doing a "dummy" library analogous to libmesa_genxml,
This one one doesn't need to preemptively build libmesa_dricore.

-Emil


More information about the mesa-dev mailing list