summaryrefslogtreecommitdiffstats
path: root/src/egl/Android.mk
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2016-06-07 18:27:34 -0500
committerEmil Velikov <[email protected]>2016-06-13 15:31:29 +0100
commit112e988329b6af817b4892b530f703e7997b1d7d (patch)
tree453baa9443909013215e54357808f668a9cbcb17 /src/egl/Android.mk
parent54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9 (diff)
Android: move libdrm settings to top-level Android.common.mk
Fix warnings like these due to HAVE_LIBDRM being inconsistently defined: external/libdrm/include/drm/drm.h:839:30: warning: redefinition of typedef 'drm_clip_rect_t' is a C11 feature [-Wtypedef-redefinition] typedef struct drm_clip_rect drm_clip_rect_t; HAVE_LIBDRM needs to be set project wide to fix this. This change also harmlessly links libdrm with everything, but simplifies the makefiles a bit. Signed-off-by: Rob Herring <[email protected]> Acked-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/Android.mk')
-rw-r--r--src/egl/Android.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/egl/Android.mk b/src/egl/Android.mk
index 5dce6c61559..bfd56a744df 100644
--- a/src/egl/Android.mk
+++ b/src/egl/Android.mk
@@ -61,12 +61,6 @@ ifeq ($(shell echo "$(MESA_ANDROID_VERSION) >= 4.2" | bc),1)
LOCAL_SHARED_LIBRARIES += libsync
endif
-# add libdrm if there are hardware drivers
-ifneq ($(filter-out swrast,$(MESA_GPU_DRIVERS)),)
-LOCAL_CFLAGS += -DHAVE_LIBDRM
-LOCAL_SHARED_LIBRARIES += libdrm
-endif
-
ifeq ($(strip $(MESA_BUILD_CLASSIC)),true)
# require i915_dri and/or i965_dri
LOCAL_REQUIRED_MODULES += \