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
This commit is contained in:
Eric Anholt 2018-06-05 08:50:55 -07:00
parent 2a10fd902d
commit 2b1b2cbf61
3 changed files with 5 additions and 2 deletions

View file

@ -43,7 +43,7 @@ pack_header = """%(license)s
#ifndef %(guard)s
#define %(guard)s
#include "v3d_packet_helpers.h"
#include "cle/v3d_packet_helpers.h"
"""

View file

@ -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) \

View file

@ -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) \