Reviewed-by: Marek Olšák <marek.ol...@amd.com> Marek
On Mon, May 22, 2017 at 11:37 AM, Marc Dietrich <marvi...@gmx.de> wrote: > This fixes the following compilation error when amdgpu is not selected. > > CC common/common_libamd_common_la-ac_gpu_info.lo > In file included from common/ac_gpu_info.c:26:0: > common/ac_gpu_info.h:31:10: fatal error: amdgpu.h: No such file or directory > #include <amdgpu.h> > ^~~~~~~~~~ > compilation terminated. > > Signed-off-by: Marc Dietrich <marvi...@gmx.de> > --- > src/amd/Makefile.common.am | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/amd/Makefile.common.am b/src/amd/Makefile.common.am > index dff461c35d..677fd52975 100644 > --- a/src/amd/Makefile.common.am > +++ b/src/amd/Makefile.common.am > @@ -26,6 +26,7 @@ COMMON_LIBS = common/libamd_common.la > # TODO cleanup these > common_libamd_common_la_CPPFLAGS = \ > $(AMDGPU_CFLAGS) \ > + $(RADEON_CFLAGS) \ > $(VALGRIND_CFLAGS) \ > $(DEFINES) \ > -I$(top_srcdir)/include \ > -- > 2.12.2 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev