From: Daniel Stone Date: Wed, 27 Sep 2017 17:42:22 +0000 (+0100) Subject: broadcom: Fix out-of-tree build include path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbe2082e7d38568433a5944a3f3fc7af4f079564;p=mesa.git broadcom: Fix out-of-tree build include path Reviewed-by: Eric Anholt Fixes: 5b102160ae ("broadcom/genxml: Introduce a V3D packet/struct decoder.") --- 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) \