diff options
author | John Stultz <john.stultz@linaro.org> | 2019-04-24 10:08:37 -0700 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2019-04-25 10:55:02 +0100 |
commit | 818033deff2ba1a3ed4e39b3f4a0c2f1da9b23eb (patch) | |
tree | e417c0bad15a36b9f8260aa21313a14f341dfcd0 /Android.mk | |
parent | be3b07617fc999e366e8185dbc7851ae5943df27 (diff) | |
download | libdrm-818033deff2ba1a3ed4e39b3f4a0c2f1da9b23eb.tar.gz libdrm-818033deff2ba1a3ed4e39b3f4a0c2f1da9b23eb.tar.bz2 libdrm-818033deff2ba1a3ed4e39b3f4a0c2f1da9b23eb.zip |
libdrm: Android.mk: Add minimal Android platform check
Add a check to error out on Android version K(4.4) or
lower.
This is due to dependency added in a previous commit on mmap64,
which was introduced with Android L.
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Alistair Strachan <astrachan@google.com>
Cc: Marissa Wall <marissaw@google.com>
Suggested-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,11 @@ # IN THE SOFTWARE. # +LIBDRM_ANDROID_MAJOR_VERSION := $(word 1, $(subst ., , $(PLATFORM_VERSION))) +ifneq ($(filter 2 4, $(LIBDRM_ANDROID_MAJOR_VERSION)),) +$(error "Android 4.4 and earlier not supported") +endif + LIBDRM_COMMON_MK := $(call my-dir)/Android.common.mk LOCAL_PATH := $(call my-dir) |