r600g: Reinstate include path to common radeon source directory
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 29 Aug 2014 03:09:16 +0000 (12:09 +0900)
committerMichel Dänzer <michel@daenzer.net>
Fri, 29 Aug 2014 03:09:16 +0000 (12:09 +0900)
Fixes build failure since commit a131263a2f19507ca0d2f6093672d930a7c054d1
('gallium/radeon: cleanup header inclusion'):

../../../../../src/gallium/drivers/r600/evergreen_compute.c:50:30: fatal error: radeon_llvm_util.h: No such file or directory
 #include "radeon_llvm_util.h"
                              ^
compilation terminated.

Trivial.

src/gallium/drivers/r600/Makefile.am

index ff84cd0..30e098e 100644 (file)
@@ -20,7 +20,8 @@ libr600_la_SOURCES = \
 if NEED_RADEON_LLVM
 
 AM_CFLAGS += \
-       $(LLVM_CFLAGS)
+       $(LLVM_CFLAGS) \
+       -I$(top_srcdir)/src/gallium/drivers/radeon/
 
 libr600_la_SOURCES += \
        $(LLVM_C_SOURCES)