summaryrefslogtreecommitdiffstats
path: root/src/broadcom/Makefile.v3d.am
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-05-01 12:24:48 -0700
committerEric Anholt <[email protected]>2018-05-16 21:19:07 +0100
commit8c47ebbd232704ab048eab2572e2b2a44f38957a (patch)
tree8946780fc424b3aa39e0b32ac875047605770a49 /src/broadcom/Makefile.v3d.am
parentc4c488a2aeb24c0f468664c0cacd0d01111a4e46 (diff)
v3d: Rename the driver files from "vc5" to "v3d".
Diffstat (limited to 'src/broadcom/Makefile.v3d.am')
-rw-r--r--src/broadcom/Makefile.v3d.am32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/broadcom/Makefile.v3d.am b/src/broadcom/Makefile.v3d.am
new file mode 100644
index 00000000000..97ef2d7455e
--- /dev/null
+++ b/src/broadcom/Makefile.v3d.am
@@ -0,0 +1,32 @@
+noinst_LTLIBRARIES += libbroadcom.la
+noinst_LTLIBRARIES += libbroadcom_v33.la
+noinst_LTLIBRARIES += libbroadcom_v41.la
+noinst_LTLIBRARIES += libbroadcom_v42.la
+
+if USE_V3D_SIMULATOR
+AM_CFLAGS += $(V3D_SIMULATOR_CFLAGS)
+libbroadcom_la_LDFLAGS = $(V3D_SIMULATOR_LIBS)
+endif
+
+libbroadcom_v33_la_SOURCES = $(BROADCOM_PER_VERSION_SOURCES)
+libbroadcom_v33_la_CFLAGS = -DV3D_VERSION=33
+
+libbroadcom_v41_la_SOURCES = $(BROADCOM_PER_VERSION_SOURCES)
+libbroadcom_v41_la_CFLAGS = -DV3D_VERSION=41
+
+libbroadcom_v42_la_SOURCES = $(BROADCOM_PER_VERSION_SOURCES)
+libbroadcom_v42_la_CFLAGS = -DV3D_VERSION=42
+
+libbroadcom_la_SOURCES = $(BROADCOM_FILES)
+
+check_PROGRAMS += \
+ qpu/tests/qpu_disasm \
+ $(NULL)
+
+LDADD = \
+ libbroadcom.la \
+ $(top_builddir)/src/compiler/nir/libnir.la \
+ $(top_builddir)/src/util/libmesautil.la \
+ $(NULL)
+
+TESTS += $(check_PROGRAMS)