[Mesa-dev] [PATCH] intel: move gen_decoder.* to DECODER_FILES

Tapani Pälli tapani.palli at intel.com
Thu Mar 23 07:15:54 UTC 2017


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 at intel.com>
---
 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.9.3



More information about the mesa-dev mailing list