automake: gallium/freedreno: drop spurious include dirs
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Jul 2014 18:45:09 +0000 (19:45 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 12 Aug 2014 23:46:52 +0000 (00:46 +0100)
Rather than including two extra folders only for two headers,
just prefix the headers and be done with it.

Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
Cc: Rob Clark <robclark@freedesktop.org>
Cc: freedreno@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/Makefile.am
src/gallium/drivers/freedreno/freedreno_screen.c

index 7d9c6e4933a64bc9fde58a3d28b803e1132a3106..15a3e93c33e07fc91e129a6186a9919060e9b48c 100644 (file)
@@ -5,8 +5,6 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
        -Wno-packed-bitfield-compat \
-       -I$(top_srcdir)/src/gallium/drivers/freedreno/a3xx \
-       -I$(top_srcdir)/src/gallium/drivers/freedreno/a2xx \
        -I$(top_srcdir)/src/gallium/drivers/freedreno/ir3 \
        $(GALLIUM_DRIVER_CFLAGS) \
        $(FREEDRENO_CFLAGS)
index 5fb73525e13b4ebf8ffc521f264ef252c094bcbc..de69b14ce770d7acce99c6edf471a11d2eec8bb8 100644 (file)
@@ -50,8 +50,8 @@
 #include "freedreno_query.h"
 #include "freedreno_util.h"
 
-#include "fd2_screen.h"
-#include "fd3_screen.h"
+#include "a2xx/fd2_screen.h"
+#include "a3xx/fd3_screen.h"
 
 /* XXX this should go away */
 #include "state_tracker/drm_driver.h"