From c90f921273d4d9108f12bbea9f0c42f6ca12d770 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 12 Jan 2017 21:54:03 +0000 Subject: [PATCH] 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 --- 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) -- 2.7.4