Mesa (master): r600g: Reinstate include path to common radeon source directory

Michel Dänzer daenzer at kemper.freedesktop.org
Fri Aug 29 03:10:01 UTC 2014


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

Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Aug 29 12:09:16 2014 +0900

r600g: Reinstate include path to common radeon source directory

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 |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am
index ff84cd0..30e098e 100644
--- a/src/gallium/drivers/r600/Makefile.am
+++ b/src/gallium/drivers/r600/Makefile.am
@@ -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)




More information about the mesa-commit mailing list