From 7a5b5f52260e33681b2aff6e544520c44f8710c0 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Tue, 21 Mar 2017 13:51:20 -0500 Subject: Android: drop Android 4.4 (KitKat) support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Any users of KitKat are likely using an older version of Mesa and KitKat support adds complexity to the make files. Dropping support allows removing the MESA_LOLLIPOP_BUILD make variable in various make files. Signed-off-by: Rob Herring Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov --- Android.common.mk | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'Android.common.mk') diff --git a/Android.common.mk b/Android.common.mk index cd576152da..34db6770c5 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -65,7 +65,9 @@ LOCAL_CFLAGS += \ LOCAL_CPPFLAGS += \ -D__STDC_CONSTANT_MACROS \ -D__STDC_FORMAT_MACROS \ - -D__STDC_LIMIT_MACROS + -D__STDC_LIMIT_MACROS \ + -Wno-error=non-virtual-dtor \ + -Wno-non-virtual-dtor # mesa requires at least c99 compiler LOCAL_CONLYFLAGS += \ @@ -102,17 +104,8 @@ LOCAL_SHARED_LIBRARIES += libdrm endif endif -LOCAL_CPPFLAGS += \ - $(if $(filter true,$(MESA_LOLLIPOP_BUILD)),-D_USING_LIBCXX) \ - -Wno-error=non-virtual-dtor \ - -Wno-non-virtual-dtor - -ifeq ($(MESA_LOLLIPOP_BUILD),true) - LOCAL_CFLAGS_32 += -DDEFAULT_DRIVER_DIR=\"/system/lib/$(MESA_DRI_MODULE_REL_PATH)\" - LOCAL_CFLAGS_64 += -DDEFAULT_DRIVER_DIR=\"/system/lib64/$(MESA_DRI_MODULE_REL_PATH)\" -else - LOCAL_CFLAGS += -DDEFAULT_DRIVER_DIR=\"/system/lib/$(MESA_DRI_MODULE_REL_PATH)\" -endif +LOCAL_CFLAGS_32 += -DDEFAULT_DRIVER_DIR=\"/system/lib/$(MESA_DRI_MODULE_REL_PATH)\" +LOCAL_CFLAGS_64 += -DDEFAULT_DRIVER_DIR=\"/system/lib64/$(MESA_DRI_MODULE_REL_PATH)\" # uncomment to keep the debug symbols #LOCAL_STRIP_MODULE := false -- cgit v1.2.3