pipe-loader: Add driver build directory for si_driinfo.h include path
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 4 Aug 2017 03:02:38 +0000 (12:02 +0900)
committerMichel Dänzer <michel@daenzer.net>
Fri, 4 Aug 2017 02:49:46 +0000 (11:49 +0900)
Fixes out-of-tree build failure:

.../src/gallium/targets/pipe-loader/pipe_radeonsi.c: In function ‘drm_configuration’:
.../src/gallium/targets/pipe-loader/pipe_radeonsi.c:38:33: fatal error: radeonsi/si_driinfo.h: No such file or directory
 #include "radeonsi/si_driinfo.h"
                                 ^
compilation terminated.
Makefile:994: recipe for target 'pipe_radeonsi.lo' failed
make[4]: *** [pipe_radeonsi.lo] Error 1

Trivial.

Fixes: 0f8c5de8690e7c ("radeonsi: prepare for driver-specific driconf
                        options")

src/gallium/targets/pipe-loader/Makefile.am

index db492c5023d9143e8ac47b232808a9e2fb5ce14a..050dd7d9dce962a7ed8aed6b7684fd8ff035deef 100644 (file)
@@ -25,6 +25,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 AM_CPPFLAGS = \
        $(GALLIUM_CFLAGS) \
        -I$(top_srcdir)/include \
+       -I$(top_builddir)/src/gallium/drivers \
        -I$(top_srcdir)/src/gallium/drivers \
        -I$(top_srcdir)/src/gallium/winsys \
        -I$(top_builddir)/src/util \