summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/virgl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-10-26 11:53:36 +0000
committerEmil Velikov <[email protected]>2015-10-30 17:37:08 +0000
commit014f8ef2ff7885a2856f9558c693f8d45adb400d (patch)
treea21b5ff4b6b0ee2c92d1db8e5d9932e0c3acbea6 /src/gallium/winsys/virgl
parent2c705d2220fc2a737fe093897e7d4da5825fd5ab (diff)
virgl: straighten the includes confusion
Use the relevant GALLIUM_foo_CFLAGS which has all the requirements (not to mention VISIBITY_CFLAGS) and keep ../ out of the include directives. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/winsys/virgl')
-rw-r--r--src/gallium/winsys/virgl/drm/Makefile.am4
-rw-r--r--src/gallium/winsys/virgl/vtest/Makefile.am4
-rw-r--r--src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/winsys/virgl/drm/Makefile.am b/src/gallium/winsys/virgl/drm/Makefile.am
index 49680e065be..9c1db31c7ef 100644
--- a/src/gallium/winsys/virgl/drm/Makefile.am
+++ b/src/gallium/winsys/virgl/drm/Makefile.am
@@ -24,9 +24,9 @@ include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
- -I$(top_srcdir)/include \
-I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_CFLAGS) \
+ -I$(top_srcdir)/src/gallium/winsys \
+ $(GALLIUM_WINSYS_CFLAGS) \
$(LIBDRM_CFLAGS)
noinst_LTLIBRARIES = libvirgldrm.la
diff --git a/src/gallium/winsys/virgl/vtest/Makefile.am b/src/gallium/winsys/virgl/vtest/Makefile.am
index 81270d7b74b..827b353930f 100644
--- a/src/gallium/winsys/virgl/vtest/Makefile.am
+++ b/src/gallium/winsys/virgl/vtest/Makefile.am
@@ -24,9 +24,9 @@ include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
- -I$(top_srcdir)/include \
-I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_CFLAGS)
+ -I$(top_srcdir)/src/gallium/winsys \
+ $(GALLIUM_WINSYS_CFLAGS)
noinst_LTLIBRARIES = libvirglvtest.la
diff --git a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.h b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.h
index 3967befa1a9..2f9dc8407ea 100644
--- a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.h
+++ b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.h
@@ -28,7 +28,7 @@
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
#include "state_tracker/sw_winsys.h"
-#include "../drm/virgl_hw.h"
+#include "virgl/drm/virgl_hw.h"
#include "virgl/virgl_winsys.h"
#include "util/list.h"
#include "os/os_thread.h"