Mesa (master): ac, radeonsi: automake: add missing builddir include

Emil Velikov evelikov at kemper.freedesktop.org
Thu Jan 12 22:04:12 UTC 2017


Module: Mesa
Branch: master
Commit: c90f921273d4d9108f12bbea9f0c42f6ca12d770
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c90f921273d4d9108f12bbea9f0c42f6ca12d770

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Jan 12 21:54:03 2017 +0000

ac, radeonsi: automake: add missing builddir include

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 at collabora.com>

---

 src/amd/Makefile.common.am               | 1 +
 src/gallium/drivers/radeonsi/Makefile.am | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/amd/Makefile.common.am b/src/amd/Makefile.common.am
index b5fce2b..ab69fc3 100644
--- a/src/amd/Makefile.common.am
+++ b/src/amd/Makefile.common.am
@@ -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 \
diff --git a/src/gallium/drivers/radeonsi/Makefile.am b/src/gallium/drivers/radeonsi/Makefile.am
index 00c8a32..2d5c1a3 100644
--- a/src/gallium/drivers/radeonsi/Makefile.am
+++ b/src/gallium/drivers/radeonsi/Makefile.am
@@ -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)




More information about the mesa-commit mailing list