[Mesa-dev] [PATCH v1 7/7] android: build imx-drm winsys

Emil Velikov emil.l.velikov at gmail.com
Fri Jun 16 13:59:58 UTC 2017


Hi Rob,

I missed something in the pl111+vc4 case, which is also applicable here.

If one selects the DC w/o the GPU the build will fail. To resolve that
one option is to simply pull the GPU static libs as dependencies for
the DC ones. Some example/specifics below.

On 15 June 2017 at 21:47, Robert Foss <robert.foss at collabora.com> wrote:

> --- /dev/null
> +++ b/src/gallium/winsys/imx/drm/Android.mk

> +# get C_SOURCES
> +#include $(LOCAL_PATH)/Makefile.sources
As with 6/7 uncomment + use the C_SOURCES.


> +
> +ifneq ($(HAVE_GALLIUM_FREEDRENO),)
> +$(eval GALLIUM_LIBS += $(LOCAL_MODULE) libmesa_winsys_freedreno)
Typo - s/libmesa_winsys_freedreno/libmesa_winsys_imx/

+ need the libmesa_pipe_etnaviv and libmesa_winsys_etnaviv as
mentioned above, otherwise we'll fail at build time when etnaviv is
not explicitly set. If you can think of alternative ways to address
this, please go ahead.

Thanks
Emil


More information about the mesa-dev mailing list