summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2017-03-23 09:15:54 +0200
committerTapani Pälli <tapani.palli@intel.com>2017-03-23 14:05:19 +0200
commit4f69573178dabe53e0f761b3f1e512658d71af98 (patch)
tree899f8010f0b2cd96089c80497a86fe6b3604b4c4
parentbcae4eb502615cc9e5dff5d071c96e6e975a0576 (diff)
intel: move gen_decoder.* to DECODER_FILES
patch adds DECODER_FILES for libintel_common, this is so that platforms such as Android not currently using this functionality can opt out. Fixes: 7d84bb3 ("intel: Move tools/decoder.[ch] to common/gen_decoder.[ch].") Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r--src/intel/Makefile.common.am2
-rw-r--r--src/intel/Makefile.sources6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/intel/Makefile.common.am b/src/intel/Makefile.common.am
index a8be54a265c..848598457ca 100644
--- a/src/intel/Makefile.common.am
+++ b/src/intel/Makefile.common.am
@@ -21,4 +21,4 @@
noinst_LTLIBRARIES += common/libintel_common.la
-common_libintel_common_la_SOURCES = $(COMMON_FILES)
+common_libintel_common_la_SOURCES = $(COMMON_FILES) $(DECODER_FILES)
diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources
index 839ea47d752..bdd8fe636f2 100644
--- a/src/intel/Makefile.sources
+++ b/src/intel/Makefile.sources
@@ -9,8 +9,6 @@ BLORP_FILES = \
COMMON_FILES = \
common/gen_debug.c \
common/gen_debug.h \
- common/gen_decoder.c \
- common/gen_decoder.h \
common/gen_device_info.c \
common/gen_device_info.h \
common/gen_l3_config.c \
@@ -18,6 +16,10 @@ COMMON_FILES = \
common/gen_urb_config.c \
common/gen_sample_positions.h
+DECODER_FILES = \
+ common/gen_decoder.h \
+ common/gen_decoder.c
+
COMPILER_FILES = \
compiler/brw_cfg.cpp \
compiler/brw_cfg.h \