diff options
author | Rob Herring <[email protected]> | 2016-06-07 18:27:34 -0500 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-06-13 15:31:29 +0100 |
commit | 112e988329b6af817b4892b530f703e7997b1d7d (patch) | |
tree | 453baa9443909013215e54357808f668a9cbcb17 /src/gallium/drivers | |
parent | 54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9 (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/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/freedreno/Android.mk | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/Android.mk | 2 | ||||
-rw-r--r-- | src/gallium/drivers/r300/Android.mk | 2 | ||||
-rw-r--r-- | src/gallium/drivers/r600/Android.mk | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeon/Android.mk | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/Android.mk | 2 | ||||
-rw-r--r-- | src/gallium/drivers/vc4/Android.mk | 1 | ||||
-rw-r--r-- | src/gallium/drivers/virgl/Android.mk | 1 |
8 files changed, 6 insertions, 8 deletions
diff --git a/src/gallium/drivers/freedreno/Android.mk b/src/gallium/drivers/freedreno/Android.mk index f630dc175f0..e901b366712 100644 --- a/src/gallium/drivers/freedreno/Android.mk +++ b/src/gallium/drivers/freedreno/Android.mk @@ -40,7 +40,7 @@ LOCAL_C_INCLUDES := \ LOCAL_GENERATED_SOURCES := $(MESA_GEN_NIR_H) -LOCAL_SHARED_LIBRARIES := libdrm libdrm_freedreno +LOCAL_SHARED_LIBRARIES := libdrm_freedreno LOCAL_STATIC_LIBRARIES := libmesa_glsl libmesa_nir LOCAL_MODULE := libmesa_pipe_freedreno diff --git a/src/gallium/drivers/nouveau/Android.mk b/src/gallium/drivers/nouveau/Android.mk index daf3abd1bb3..839a3899cb7 100644 --- a/src/gallium/drivers/nouveau/Android.mk +++ b/src/gallium/drivers/nouveau/Android.mk @@ -36,7 +36,7 @@ LOCAL_SRC_FILES := \ $(NVC0_CODEGEN_SOURCES) \ $(NVC0_C_SOURCES) -LOCAL_SHARED_LIBRARIES := libdrm libdrm_nouveau +LOCAL_SHARED_LIBRARIES := libdrm_nouveau LOCAL_MODULE := libmesa_pipe_nouveau ifeq ($(MESA_LOLLIPOP_BUILD),true) diff --git a/src/gallium/drivers/r300/Android.mk b/src/gallium/drivers/r300/Android.mk index bb31519f000..e2939ac4043 100644 --- a/src/gallium/drivers/r300/Android.mk +++ b/src/gallium/drivers/r300/Android.mk @@ -35,7 +35,7 @@ LOCAL_C_INCLUDES := \ $(MESA_TOP)/src/mesa -LOCAL_SHARED_LIBRARIES := libdrm libdrm_radeon +LOCAL_SHARED_LIBRARIES := libdrm_radeon LOCAL_MODULE := libmesa_pipe_r300 include $(GALLIUM_COMMON_MK) diff --git a/src/gallium/drivers/r600/Android.mk b/src/gallium/drivers/r600/Android.mk index bfe39873089..64760912697 100644 --- a/src/gallium/drivers/r600/Android.mk +++ b/src/gallium/drivers/r600/Android.mk @@ -30,7 +30,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(C_SOURCES) $(CXX_SOURCES) -LOCAL_SHARED_LIBRARIES := libdrm libdrm_radeon +LOCAL_SHARED_LIBRARIES := libdrm_radeon LOCAL_MODULE := libmesa_pipe_r600 ifeq ($(MESA_LOLLIPOP_BUILD),true) diff --git a/src/gallium/drivers/radeon/Android.mk b/src/gallium/drivers/radeon/Android.mk index 6997a6d3ec3..2f72f1f5639 100644 --- a/src/gallium/drivers/radeon/Android.mk +++ b/src/gallium/drivers/radeon/Android.mk @@ -34,7 +34,7 @@ ifeq ($(MESA_ENABLE_LLVM),true) LOCAL_SRC_FILES += $(LLVM_C_FILES) endif -LOCAL_SHARED_LIBRARIES := libdrm libdrm_radeon +LOCAL_SHARED_LIBRARIES := libdrm_radeon LOCAL_MODULE := libmesa_pipe_radeon include $(GALLIUM_COMMON_MK) diff --git a/src/gallium/drivers/radeonsi/Android.mk b/src/gallium/drivers/radeonsi/Android.mk index 7e5e54b3493..1a9e5472c92 100644 --- a/src/gallium/drivers/radeonsi/Android.mk +++ b/src/gallium/drivers/radeonsi/Android.mk @@ -30,7 +30,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(C_SOURCES) -LOCAL_SHARED_LIBRARIES := libdrm libdrm_radeon +LOCAL_SHARED_LIBRARIES := libdrm_radeon LOCAL_MODULE := libmesa_pipe_radeonsi # generate sources diff --git a/src/gallium/drivers/vc4/Android.mk b/src/gallium/drivers/vc4/Android.mk index 2efb4722636..de9d5e3f5b3 100644 --- a/src/gallium/drivers/vc4/Android.mk +++ b/src/gallium/drivers/vc4/Android.mk @@ -30,7 +30,6 @@ LOCAL_SRC_FILES := \ LOCAL_GENERATED_SOURCES := $(MESA_GEN_NIR_H) -LOCAL_SHARED_LIBRARIES := libdrm # We need libmesa_nir to get NIR's generated include directories. LOCAL_STATIC_LIBRARIES := libmesa_nir LOCAL_MODULE := libmesa_pipe_vc4 diff --git a/src/gallium/drivers/virgl/Android.mk b/src/gallium/drivers/virgl/Android.mk index b8309e43d71..7c1ba42a5f6 100644 --- a/src/gallium/drivers/virgl/Android.mk +++ b/src/gallium/drivers/virgl/Android.mk @@ -28,7 +28,6 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := \ $(C_SOURCES) -LOCAL_SHARED_LIBRARIES := libdrm LOCAL_MODULE := libmesa_pipe_virgl include $(GALLIUM_COMMON_MK) |