On 31 July 2017 at 09:32, Tapani Pälli <tapani.pa...@intel.com> wrote: > this change reverts commit 4f695731, we want to be able to build > with -DDEBUG and gen_decoder on Android. > > Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> > --- > src/intel/Makefile.common.am | 2 +- > src/intel/Makefile.sources | 6 ++---- > 2 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/src/intel/Makefile.common.am b/src/intel/Makefile.common.am > index 1c1c2ee..49e9c6a 100644 > --- a/src/intel/Makefile.common.am > +++ b/src/intel/Makefile.common.am > @@ -22,7 +22,7 @@ > noinst_LTLIBRARIES += common/libintel_common.la > > common_libintel_common_la_CFLAGS = $(AM_CFLAGS) $(LIBDRM_CFLAGS) > -common_libintel_common_la_SOURCES = $(COMMON_FILES) $(DECODER_FILES) > +common_libintel_common_la_SOURCES = $(COMMON_FILES) > > if HAVE_PLATFORM_ANDROID > common_libintel_common_la_CFLAGS += $(ANDROID_CFLAGS) > diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources > index 2b3065e..10abef6 100644 > --- a/src/intel/Makefile.sources > +++ b/src/intel/Makefile.sources > @@ -11,6 +11,8 @@ COMMON_FILES = \ > common/gen_clflush.h \ > 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,10 +20,6 @@ COMMON_FILES = \ > common/gen_urb_config.c \ > common/gen_sample_positions.h > > -DECODER_FILES = \ > - common/gen_decoder.h \ > - common/gen_decoder.c > - Personally I would keep things as-is and add $(DECODER_FILES) to the Android build.
Regardless if you opt for that route or not: Reviewed-by: Emil Velikov <emil.veli...@collabora.com> -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev