summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/Automake.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/vc4/Automake.inc')
-rw-r--r--src/gallium/drivers/vc4/Automake.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/Automake.inc b/src/gallium/drivers/vc4/Automake.inc
new file mode 100644
index 00000000000..6fa3e190cac
--- /dev/null
+++ b/src/gallium/drivers/vc4/Automake.inc
@@ -0,0 +1,13 @@
+if HAVE_GALLIUM_VC4
+
+TARGET_DRIVERS += vc4
+TARGET_CPPFLAGS += -DGALLIUM_VC4
+TARGET_LIB_DEPS += \
+ $(top_builddir)/src/gallium/winsys/vc4/drm/libvc4drm.la \
+ $(top_builddir)/src/gallium/drivers/vc4/libvc4.la
+
+if USE_VC4_SIMULATOR
+TARGET_CPPFLAGS += -DUSE_VC4_SIMULATOR
+endif
+
+endif