From: Tapani Pälli Date: Thu, 23 Mar 2017 07:15:54 +0000 (+0200) Subject: intel: move gen_decoder.* to DECODER_FILES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f69573178dabe53e0f761b3f1e512658d71af98;p=mesa.git 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 Reviewed-by: Kenneth Graunke Reviewed-by: Emil Velikov --- 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 \