[Mesa-dev] [PATCH] vc4: Fix out-of-tree build

Aaron Watry awatry at gmail.com
Wed Mar 28 01:26:18 UTC 2018


Signed-off-by: Aaron Watry <awatry at gmail.com>
Cc: Eric Anholt <eric at anholt.net>
---
I still have to build at least one drm driver with pci support,
but I've at least managed an out-of-tree build with these changes.

 src/broadcom/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/broadcom/Makefile.am b/src/broadcom/Makefile.am
index 35ed703a09..49267de73b 100644
--- a/src/broadcom/Makefile.am
+++ b/src/broadcom/Makefile.am
@@ -24,7 +24,9 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/include \
 	-I$(top_builddir)/src \
 	-I$(top_srcdir)/src \
+	-I$(top_builddir)/src/compiler/nir \
 	-I$(top_srcdir)/src/broadcom/ \
+	-I$(top_srcdir)/src/broadcom/cle \
 	-I$(top_srcdir)/src/broadcom/include \
 	-I$(top_srcdir)/src/gallium/auxiliary \
 	-I$(top_srcdir)/src/gallium/include \
-- 
2.14.1



More information about the mesa-dev mailing list