From 1c328b8aa79b0644160082b7e9e02df18ab3ca48 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 7 Jul 2015 15:42:15 +0100 Subject: loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H Double negatives in English language are normally avoided, plus the former seems cleaner and more consistent. Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick --- src/loader/Android.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/loader/Android.mk') diff --git a/src/loader/Android.mk b/src/loader/Android.mk index 92d9fd2..8690565 100644 --- a/src/loader/Android.mk +++ b/src/loader/Android.mk @@ -33,10 +33,8 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := \ $(LOADER_C_FILES) -# swrast only -ifeq ($(MESA_GPU_DRIVERS),swrast) -LOCAL_CFLAGS += -D__NOT_HAVE_DRM_H -else +ifneq ($(filter-out swrast,$(MESA_GPU_DRIVERS)),) +LOCAL_CFLAGS += -DHAVE_LIBDRM LOCAL_SHARED_LIBRARIES := libdrm endif -- cgit v1.1