[Mesa-dev] [PATCH 5/8] android: add Android.mk for llvmpipe

Emil Velikov emil.l.velikov at gmail.com
Tue Jan 17 13:06:37 UTC 2017


On 16 January 2017 at 23:24, Mauro Rossi <issor.oruam at gmail.com> wrote:
>>> --- a/src/gallium/Android.mk
>>> +++ b/src/gallium/Android.mk
>>> @@ -34,7 +34,9 @@ SUBDIRS += auxiliary/pipe-loader
>>>  #
>>>
>>>  # swrast
>>> -ifneq ($(filter swrast,$(MESA_GPU_DRIVERS)),)
>>> +ifneq ($(filter llvmpipe,$(MESA_GPU_DRIVERS)),)
>>> +SUBDIRS += winsys/sw/dri drivers/llvmpipe drivers/softpipe
>>> +else ifneq ($(filter softpipe,$(MESA_GPU_DRIVERS)),)
>>>  SUBDIRS += winsys/sw/dri drivers/softpipe
>> Won't this lead to having the same SUBDIRS multiple times if one has
>> both softpipe and llvmpipe in MESA_GPU_DRIVERS ?
>
> The 'else ifneq' should prevent this issue from happening,
> because either llvmpipe path or softpipe path will be followed.
>
Right you are. Thanks for the correction !

-Emil


More information about the mesa-dev mailing list