Mesa (master): broadcom: Fix out-of-tree build include path
Eric Anholt
anholt at kemper.freedesktop.org
Thu Oct 5 22:28:54 UTC 2017
Module: Mesa
Branch: master
Commit: bbe2082e7d38568433a5944a3f3fc7af4f079564
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbe2082e7d38568433a5944a3f3fc7af4f079564
Author: Daniel Stone <daniels at collabora.com>
Date: Wed Sep 27 18:42:22 2017 +0100
broadcom: Fix out-of-tree build include path
Reviewed-by: 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) \
More information about the mesa-commit
mailing list