summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/imx
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2016-12-23 21:10:29 +0100
committerEmil Velikov <[email protected]>2017-01-12 19:27:11 +0000
commite8626e3b317035352148a6af15a2b781eba6e707 (patch)
treed14cae533c34cf4504c7fb0a179205b240e3c79c /src/gallium/drivers/imx
parentc9e8b49b885242d84ba031dacef5aa4a5ac1e5b6 (diff)
imx: gallium driver for imx-drm scanout driver
Changes from V1 -> V2: - updated Copyright - added $(top_srcdir)/src/gallium/winsys to include path (suggested by Emil) - adapted driver to new renderonly API Signed-off-by: Christian Gmeiner <[email protected]> Acked-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/imx')
-rw-r--r--src/gallium/drivers/imx/Automake.inc9
-rw-r--r--src/gallium/drivers/imx/Makefile.am8
2 files changed, 17 insertions, 0 deletions
diff --git a/src/gallium/drivers/imx/Automake.inc b/src/gallium/drivers/imx/Automake.inc
new file mode 100644
index 00000000000..92560a2c6b8
--- /dev/null
+++ b/src/gallium/drivers/imx/Automake.inc
@@ -0,0 +1,9 @@
+if HAVE_GALLIUM_IMX
+
+TARGET_DRIVERS += imx-drm
+TARGET_CPPFLAGS += -DGALLIUM_IMX
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/winsys/imx/drm/libimxdrm.la \
+ $(LIBDRM_LIBS)
+
+endif
diff --git a/src/gallium/drivers/imx/Makefile.am b/src/gallium/drivers/imx/Makefile.am
new file mode 100644
index 00000000000..44f526fadb9
--- /dev/null
+++ b/src/gallium/drivers/imx/Makefile.am
@@ -0,0 +1,8 @@
+include $(top_srcdir)/src/gallium/Automake.inc
+
+AM_CPPFLAGS = \
+ $(GALLIUM_CFLAGS)
+
+noinst_LTLIBRARIES = libimx.la
+
+libimx_la_SOURCES =