[Mesa-dev] [PATCH v2] broadcom: Fix out-of-tree build include path

Daniel Stone daniels at collabora.com
Wed Sep 27 17:42:22 UTC 2017


Cc: Eric Anholt <eric at anholt.net>
Fixes: 5b102160ae ("broadcom/genxml: Introduce a V3D packet/struct decoder.")
---
 src/broadcom/Makefile.cle.am        | 4 +++-
 src/gallium/drivers/vc4/Makefile.am | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/broadcom/Makefile.cle.am b/src/broadcom/Makefile.cle.am
index 368826796d..1c262d0396 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 4c2b7486c5..6db5fef037 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) \
-- 
2.14.1



More information about the mesa-dev mailing list