broadcom: Fix out-of-tree build include path
authorDaniel Stone <daniels@collabora.com>
Wed, 27 Sep 2017 17:42:22 +0000 (18:42 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 5 Oct 2017 22:03:11 +0000 (15:03 -0700)
Reviewed-by: Eric Anholt <eric@anholt.net>
Fixes: 5b102160ae ("broadcom/genxml: Introduce a V3D packet/struct decoder.")
src/broadcom/Makefile.cle.am
src/gallium/drivers/vc4/Makefile.am

index 368826796d2d82d007536e661b01a38252ea9689..1c262d03966506b4afd4d18ce7dafc70c61019dd 100644 (file)
@@ -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)
index 4c2b7486c52243ce50153622af271977c33156d4..6db5fef0379cdd3493f533db764f3329ef3ddca3 100644 (file)
@@ -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) \