From bbe2082e7d38568433a5944a3f3fc7af4f079564 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 27 Sep 2017 18:42:22 +0100 Subject: [PATCH] broadcom: Fix out-of-tree build include path Reviewed-by: Eric Anholt 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 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) \ -- 2.30.2