summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-05-03 14:35:20 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2017-05-11 13:52:21 +0100
commit3f097396a1642bb7033002d0bdd37e194afce06a (patch)
tree8a4bd04f538b8622325f18b9b26053256a44da63 /src/gallium/drivers/i915
parent2a2dabe1c330fea311505b453de58ddcd5488fcc (diff)
Android: push driver build details to driver makefiles
src/gallium/targets/dri/Android.mk contains lots of conditional for individual drivers. Let's move these details into the individual driver makefiles. In the process, align the make driver conditionals with automake (i.e. HAVE_GALLIUM_*). Signed-off-by: Rob Herring <robh@kernel.org> [Emil Velikov: add the radeon winsys for radeonsi] Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r--src/gallium/drivers/i915/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/Android.mk b/src/gallium/drivers/i915/Android.mk
index fece3053e37..6860770167f 100644
--- a/src/gallium/drivers/i915/Android.mk
+++ b/src/gallium/drivers/i915/Android.mk
@@ -34,3 +34,7 @@ LOCAL_MODULE := libmesa_pipe_i915
include $(GALLIUM_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)
+
+ifneq ($(HAVE_GALLIUM_I915),)
+$(eval GALLIUM_LIBS += $(LOCAL_MODULE) libmesa_winsys_i915)
+endif