[Mesa-dev] [PATCH] radeon: Include radeon_elf_util.c in the list of LLVM_C_FILES

Tom Stellard thomas.stellard at amd.com
Fri Mar 7 14:00:47 PST 2014


This fixes the a build breakage caused by
6974eb907600b9d0176d3158ff0fd30ac3e56a55 on build configurations where
all the following are true:

1. radeonsi is not being built
2. r600g is being built
3. opencl is disabled
4. --enable-r600-llvm-compiler is not being used
5. libelf is not installed
---
 src/gallium/drivers/radeon/Makefile.sources | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeon/Makefile.sources b/src/gallium/drivers/radeon/Makefile.sources
index 6ebed2c..0062d4b 100644
--- a/src/gallium/drivers/radeon/Makefile.sources
+++ b/src/gallium/drivers/radeon/Makefile.sources
@@ -1,6 +1,5 @@
 C_SOURCES := \
 	r600_buffer_common.c \
-	radeon_elf_util.c \
 	r600_pipe_common.c \
         r600_query.c \
 	r600_streamout.c \
@@ -11,6 +10,7 @@ C_SOURCES := \
 	radeon_vce_40_2_2.c
 
 LLVM_C_FILES := \
+	radeon_elf_util.c \
 	radeon_setup_tgsi_llvm.c \
 	radeon_llvm_emit.c \
 	radeon_llvm_util.c
-- 
1.8.1.4




More information about the mesa-dev mailing list