summaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.isl.am
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-03-15 12:32:09 +0200
committerTapani Pälli <[email protected]>2019-03-18 08:51:57 +0200
commita1cd0040b6d1ae3dbf9d792c5ab1aadbbf917bac (patch)
tree64d1197e3e0b51e2e7606fb370267f1831d7644a /src/intel/Makefile.isl.am
parentf7332fbc08c18b2f2b65b28873d6dfddb5f02568 (diff)
isl: fix automake build when sse41 is not supported
Fixes: 864cc419eb0a41882762 "intel/isl: move tiled_memcpy static libs from i965 to isl" Cc: [email protected] Reported-by: Milav Soni <[email protected]> Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/Makefile.isl.am')
-rw-r--r--src/intel/Makefile.isl.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/intel/Makefile.isl.am b/src/intel/Makefile.isl.am
index a6733f3ba8e..dcb9d3ad6fc 100644
--- a/src/intel/Makefile.isl.am
+++ b/src/intel/Makefile.isl.am
@@ -33,12 +33,15 @@ ISL_GEN_LIBS = \
noinst_LTLIBRARIES += $(ISL_GEN_LIBS) \
isl/libisl.la \
- libisl_tiled_memcpy.la \
- libisl_tiled_memcpy_sse41.la
+ libisl_tiled_memcpy.la
isl_libisl_la_LIBADD = $(ISL_GEN_LIBS) \
- libisl_tiled_memcpy.la \
- libisl_tiled_memcpy_sse41.la
+ libisl_tiled_memcpy.la
+
+if SSE41_SUPPORTED
+isl_libisl_la_LIBADD += libisl_tiled_memcpy_sse41.la
+noinst_LTLIBRARIES += libisl_tiled_memcpy_sse41.la
+endif
isl_libisl_la_SOURCES = $(ISL_FILES) $(ISL_GENERATED_FILES)