[Mesa-dev] [PATCH 3/5] Android: generate an error if building on Android 4.4 or earlier
Rob Herring
robh at kernel.org
Tue May 23 19:49:31 UTC 2017
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)
--
2.11.0
More information about the mesa-dev
mailing list