summaryrefslogtreecommitdiff
path: root/src/intel
diff options
context:
space:
mode:
authorAndres Gomez <agomez@igalia.com>2018-08-02 19:39:06 +0300
committerAndres Gomez <agomez@igalia.com>2018-08-02 21:21:22 +0300
commit9ddff68f6fae40308d3a38f0146f4e139e8b2e1b (patch)
treef42291294ad988fa3a30bde7715eff2a5a026be5 /src/intel
parent2e903df72fcc54b03c113e7a52ac33034dfecf86 (diff)
intel/tools: add error2aub creation into autotools
Tarball distribution is done through "make distcheck". We include the meson targets also into autotools so they won't fail when building from the tarball. Fixes: 6a60beba408 ("intel/tools: Add an error state to aub translator") Cc: Jason Ekstrand <jason.ekstrand@intel.com> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: Dylan Baker <dylan.c.baker@intel.com> Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (cherry picked from commit 2d4d139877c0aa8efc323be6d9c37c846c8b193a)
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/Makefile.tools.am24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/intel/Makefile.tools.am b/src/intel/Makefile.tools.am
index b00cc8cc2cb..00624084e6f 100644
--- a/src/intel/Makefile.tools.am
+++ b/src/intel/Makefile.tools.am
@@ -21,7 +21,9 @@
noinst_PROGRAMS += \
tools/aubinator \
- tools/aubinator_error_decode
+ tools/aubinator_error_decode \
+ tools/error2aub
+
tools_aubinator_SOURCES = \
tools/aubinator.c \
@@ -59,3 +61,23 @@ tools_aubinator_error_decode_LDADD = \
tools_aubinator_error_decode_CFLAGS = \
$(AM_CFLAGS) \
$(ZLIB_CFLAGS)
+
+
+tools_error2aub_SOURCES = \
+ tools/gen_context.h \
+ tools/gen8_context.h \
+ tools/gen10_context.h \
+ tools/aub_write.h \
+ tools/aub_write.c \
+ tools/error2aub.c
+
+tools_error2aub_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(ZLIB_CFLAGS)
+
+tools_error2aub_LDADD = \
+ dev/libintel_dev.la \
+ $(PTHREAD_LIBS) \
+ $(DLOPEN_LIBS) \
+ $(ZLIB_LIBS) \
+ -lm