[Mesa-dev] [PATCH] Android: disable i9x5 drivers on non-x86 builds

Kenneth Graunke kenneth at whitecape.org
Thu Oct 12 00:59:52 UTC 2017


On Wednesday, October 11, 2017 4:18:23 PM PDT Rob Herring wrote:
> The i965 driver has become dependent on x86 specific compiler builtin
> functions, so ensure it's disabled for non-x86 builds.
> 
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
>  Android.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Android.mk b/Android.mk
> index 9dc0bbd1d7d7..72a9b04be1e3 100644
> --- a/Android.mk
> +++ b/Android.mk
> @@ -75,6 +75,10 @@ $(foreach d, $(BOARD_GPU_DRIVERS), \
>  MESA_BUILD_CLASSIC := $(strip $(foreach d, $(BOARD_GPU_DRIVERS), $(patsubst $(d).%,%, $(filter $(d).%, $(classic_drivers)))))
>  MESA_BUILD_GALLIUM := $(strip $(foreach d, $(BOARD_GPU_DRIVERS), $(patsubst $(d).%,%, $(filter $(d).%, $(gallium_drivers)))))
>  endif
> +ifeq ($(filter x86%,$(TARGET_ARCH)),)
> +	MESA_BUILD_CLASSIC :=
> +endif
> +
>  $(foreach d, $(MESA_BUILD_CLASSIC) $(MESA_BUILD_GALLIUM), $(eval $(d) := true))
>  
>  # host and target must be the same arch to generate matypes.h
> 

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171011/239bf3f2/attachment.sig>


More information about the mesa-dev mailing list