ac, radeonsi: automake: add missing builddir include
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 12 Jan 2017 21:54:03 +0000 (21:54 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 12 Jan 2017 22:01:55 +0000 (22:01 +0000)
The generated file is correctly stored in the builddir as of earlier
commit. Yet the commit forgot to add the respective include flag thus
the compiler would error out failing to find sid_tables.h

Bugzila: https://bugs.freedesktop.org/show_bug.cgi?id=99389
Fixes: d1dc22eb466 "ac: automake: rework sid_tables.h generation"
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/amd/Makefile.common.am
src/gallium/drivers/radeonsi/Makefile.am

index b5fce2b4e079e42ac51662f6d8f81230e53e008d..ab69fc337aadaba4c06cdf38785e47aec05496be 100644 (file)
@@ -30,6 +30,7 @@ common_libamd_common_la_CPPFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_builddir)/src \
        -I$(top_srcdir)/src \
+       -I$(top_builddir)/src/amd/common \
        -I$(top_srcdir)/src/amd/common \
        -I$(top_builddir)/src/compiler \
        -I$(top_builddir)/src/compiler/nir \
index 00c8a328c926075cd1ba2ba3ba5cc706dcbbe972..2d5c1a38220f22d3746d6b75ca895ecc8c17bc77 100644 (file)
@@ -25,6 +25,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
        $(GALLIUM_DRIVER_CFLAGS) \
+       -I$(top_builddir)/src/amd/common \
        -I$(top_srcdir)/src/amd/common \
        $(RADEON_CFLAGS) \
        $(LLVM_CFLAGS)