summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2017-09-27 18:42:22 +0100
committerEric Anholt <eric@anholt.net>2017-10-05 15:03:11 -0700
commitbbe2082e7d38568433a5944a3f3fc7af4f079564 (patch)
treefb2ccb67510b18f45cf8c09aba3f20a4e8c45918 /src
parent908a25ecb0a2f435d3882a4f1849140df562e32a (diff)
broadcom: Fix out-of-tree build include path
Reviewed-by: Eric Anholt <eric@anholt.net> Fixes: 5b102160ae ("broadcom/genxml: Introduce a V3D packet/struct decoder.")
Diffstat (limited to 'src')
-rw-r--r--src/broadcom/Makefile.cle.am4
-rw-r--r--src/gallium/drivers/vc4/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/broadcom/Makefile.cle.am b/src/broadcom/Makefile.cle.am
index 368826796d2..1c262d03966 100644
--- a/src/broadcom/Makefile.cle.am
+++ b/src/broadcom/Makefile.cle.am
@@ -1,4 +1,6 @@
noinst_LTLIBRARIES += cle/libbroadcom_cle.la
-cle_libbroadcom_cle_la_CFLAGS = $(AM_CFLAGS)
+cle_libbroadcom_cle_la_CFLAGS = \
+ -I$(top_builddir)/src/broadcom/cle \
+ $(AM_CFLAGS)
cle_libbroadcom_cle_la_SOURCES = $(BROADCOM_DECODER_FILES)
diff --git a/src/gallium/drivers/vc4/Makefile.am b/src/gallium/drivers/vc4/Makefile.am
index 4c2b7486c52..6db5fef0379 100644
--- a/src/gallium/drivers/vc4/Makefile.am
+++ b/src/gallium/drivers/vc4/Makefile.am
@@ -29,6 +29,8 @@ endif
AM_CFLAGS = \
-I$(top_builddir)/src/compiler/nir \
-I$(top_srcdir)/include/drm-uapi \
+ -I$(top_builddir)/src \
+ -I$(top_srcdir)/src/broadcom/cle \
$(LIBDRM_CFLAGS) \
$(GALLIUM_DRIVER_CFLAGS) \
$(SIM_CFLAGS) \