From 4f69573178dabe53e0f761b3f1e512658d71af98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Thu, 23 Mar 2017 09:15:54 +0200 Subject: [PATCH] intel: move gen_decoder.* to DECODER_FILES MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Kenneth Graunke Reviewed-by: Emil Velikov --- src/intel/Makefile.common.am | 2 +- src/intel/Makefile.sources | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/intel/Makefile.common.am b/src/intel/Makefile.common.am index a8be54a..8485984 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 839ea47..bdd8fe6 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 \ -- 2.7.4