aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-06-05 08:50:55 -0700
committerEric Anholt <[email protected]>2018-06-05 12:44:49 -0700
commit2b1b2cbf619f9b3d578dabb0956bd5a248b6a89c (patch)
tree6c5135cd04ad649b58ad3440ed7730899a434d45 /src/gallium
parent2a10fd902d71e7991c1dc81be16e5d61982f8e6e (diff)
v3d: Be more explicit about include directory from our generated code.
You'd need src/broadcom/cle/ in the -I previously, for srcdir != builddir. nir was fine at that, but automake didn't have it. Bugzilla: https://github.com/anholt/mesa/issues/104
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/v3d/Makefile.am2
-rw-r--r--src/gallium/drivers/vc4/Makefile.am3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/Makefile.am b/src/gallium/drivers/v3d/Makefile.am
index ff0334a2396..5b4ed5df2b9 100644
--- a/src/gallium/drivers/v3d/Makefile.am
+++ b/src/gallium/drivers/v3d/Makefile.am
@@ -25,7 +25,9 @@ include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
-I$(top_builddir)/src/compiler/nir \
-I$(top_srcdir)/include/drm-uapi \
+ -I$(top_srcdir)/src/broadcom \
-I$(top_builddir)/src/broadcom \
+ -I$(top_builddir)/src \
$(LIBDRM_CFLAGS) \
$(V3D_SIMULATOR_CFLAGS) \
$(GALLIUM_DRIVER_CFLAGS) \
diff --git a/src/gallium/drivers/vc4/Makefile.am b/src/gallium/drivers/vc4/Makefile.am
index d65bf20e26d..4c7dd843da5 100644
--- a/src/gallium/drivers/vc4/Makefile.am
+++ b/src/gallium/drivers/vc4/Makefile.am
@@ -30,7 +30,8 @@ AM_CFLAGS = \
-I$(top_builddir)/src/compiler/nir \
-I$(top_srcdir)/include/drm-uapi \
-I$(top_builddir)/src \
- -I$(top_srcdir)/src/broadcom/cle \
+ -I$(top_srcdir)/src/broadcom \
+ -I$(top_builddir)/src/broadcom \
$(LIBDRM_CFLAGS) \
$(GALLIUM_DRIVER_CFLAGS) \
$(SIM_CFLAGS) \