intel: automake: move INTEL_CFLAGS as applicable
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 17 Mar 2017 16:55:25 +0000 (16:55 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 30 Mar 2017 18:07:28 +0000 (19:07 +0100)
Only common/decoder.[ch] requires it [for intel_aub.h].

v2: The code was moved to from intel/tools to intel/common,
update accordingly.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/Makefile.am
src/intel/Makefile.common.am

index 63bfd45fdd103c2edc99f4d5a0974de892591b8a..269d73dfcb08f71663a534d10e2cf0c29d659cd0 100644 (file)
@@ -37,7 +37,6 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/mesa \
        -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/gallium/include \
-       $(INTEL_CFLAGS) \
        $(VALGRIND_CFLAGS) \
        $(DEFINES)
 
index 848598457ca7a43c0e424b0fa9439df39d0029bb..a772b5fcd120235bc9532589f6485e438ff3c6f9 100644 (file)
@@ -21,4 +21,5 @@
 
 noinst_LTLIBRARIES += common/libintel_common.la
 
+common_libintel_common_la_CFLAGS = $(AM_CFLAGS) $(LIBDRM_CFLAGS)
 common_libintel_common_la_SOURCES = $(COMMON_FILES) $(DECODER_FILES)