[Mesa-dev] [PATCH 3/5] Android: generate an error if building on Android 4.4 or earlier
Ian Romanick
idr at freedesktop.org
Tue May 23 22:14:58 UTC 2017
It seems like this patch should go first in the series. With that
changed, this patch is
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 05/23/2017 12:49 PM, Rob Herring wrote:
> Android 4.4 or earlier is no longer supported, so exit with an error if we
> try building on it.
>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> Android.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Android.mk b/Android.mk
> index ab6bf6adbd48..de37f4600f30 100644
> --- a/Android.mk
> +++ b/Android.mk
> @@ -32,6 +32,9 @@
> MESA_TOP := $(call my-dir)
>
> MESA_ANDROID_MAJOR_VERSION := $(word 1, $(subst ., , $(PLATFORM_VERSION)))
> +ifneq ($(filter 2 4, $(MESA_ANDROID_MAJOR_VERSION)),)
> +$(error "Android 4.4 and earlier not supported")
> +endif
>
> MESA_DRI_MODULE_REL_PATH := dri
> MESA_DRI_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/$(MESA_DRI_MODULE_REL_PATH)
>
More information about the mesa-dev
mailing list