intel: move gen_decoder.* to DECODER_FILES
authorTapani Pälli <tapani.palli@intel.com>
Thu, 23 Mar 2017 07:15:54 +0000 (09:15 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 23 Mar 2017 12:05:19 +0000 (14:05 +0200)
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>
src/intel/Makefile.common.am
src/intel/Makefile.sources

index a8be54a..8485984 100644 (file)
@@ -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)
index 839ea47..bdd8fe6 100644 (file)
@@ -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 \