summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-09-21 15:30:53 +0100
committerEmil Velikov <[email protected]>2014-09-24 10:44:00 +0100
commit97bec98ac981d5d973f8b2b11d89d967aad7628b (patch)
tree8b8de4717bdb55addaa991fceda1ce5202a55422 /src/gallium/drivers/freedreno/Automake.inc
parent0e59153229f6e04296ee938d084e9d6f522fd146 (diff)
gallium/freedreno: add automake target 'template'
Rather than duplicating the libdeps, extra define... all over the targets, define them only once and use when applicable. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/Automake.inc')
-rw-r--r--src/gallium/drivers/freedreno/Automake.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/Automake.inc b/src/gallium/drivers/freedreno/Automake.inc
new file mode 100644
index 00000000000..1fdf91cf3a5
--- /dev/null
+++ b/src/gallium/drivers/freedreno/Automake.inc
@@ -0,0 +1,11 @@
+if HAVE_GALLIUM_FREEDRENO
+
+TARGET_DRIVERS += msm kgsl
+TARGET_CPPFLAGS += -DGALLIUM_FREEDRENO
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \
+ $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \
+ $(FREEDRENO_LIBS) \
+ $(LIBDRM_LIBS)
+
+endif