Android: move libdrm settings to top-level Android.common.mk
authorRob Herring <robh@kernel.org>
Tue, 7 Jun 2016 23:27:34 +0000 (18:27 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Jun 2016 14:31:29 +0000 (15:31 +0100)
commit112e988329b6af817b4892b530f703e7997b1d7d
tree453baa9443909013215e54357808f668a9cbcb17
parent54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9
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 <robh@kernel.org>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
25 files changed:
Android.common.mk
src/egl/Android.mk
src/gallium/auxiliary/pipe-loader/Android.mk
src/gallium/drivers/freedreno/Android.mk
src/gallium/drivers/nouveau/Android.mk
src/gallium/drivers/r300/Android.mk
src/gallium/drivers/r600/Android.mk
src/gallium/drivers/radeon/Android.mk
src/gallium/drivers/radeonsi/Android.mk
src/gallium/drivers/vc4/Android.mk
src/gallium/drivers/virgl/Android.mk
src/gallium/state_trackers/dri/Android.mk
src/gallium/targets/dri/Android.mk
src/gallium/winsys/amdgpu/drm/Android.mk
src/gallium/winsys/freedreno/drm/Android.mk
src/gallium/winsys/i915/drm/Android.mk
src/gallium/winsys/intel/drm/Android.mk
src/gallium/winsys/nouveau/drm/Android.mk
src/gallium/winsys/radeon/drm/Android.mk
src/gallium/winsys/svga/drm/Android.mk
src/gallium/winsys/vc4/drm/Android.mk
src/gallium/winsys/virgl/drm/Android.mk
src/gbm/Android.mk
src/loader/Android.mk
src/mesa/drivers/dri/Android.mk