isl: automake: list builddir before srcdir in the includes list
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 27 May 2016 14:35:32 +0000 (15:35 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 30 May 2016 09:28:46 +0000 (10:28 +0100)
As seen elsewhere - we want to include the freshly built sources as
opposed the the (likely) stale ones in the srcdir.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/isl/Makefile.am

index 57313baa4f2378cf5c361111a8cbffd1d9138936..46b2683b4ab45b84630fe2c46aa715b455215e6b 100644 (file)
@@ -34,16 +34,15 @@ AM_CPPFLAGS = \
        $(VALGRIND_CFLAGS) \
        $(DEFINES) \
        -I$(top_srcdir)/include \
+       -I$(top_builddir)/src \
        -I$(top_srcdir)/src \
+       -I$(top_builddir)/src/intel \
        -I$(top_srcdir)/src/intel \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa \
-       -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/mesa/drivers/dri/i965 \
        -I$(top_srcdir)/src/gallium/auxiliary \
-       -I$(top_srcdir)/src/gallium/include \
-       -I$(top_builddir)/src \
-       -I$(top_builddir)/src/intel
+       -I$(top_srcdir)/src/gallium/include
 
 libisl_la_CFLAGS = $(CFLAGS) -Wno-override-init