radeon: Include radeon_elf_util.c in the list of LLVM_C_FILES v2
authorTom Stellard <thomas.stellard@amd.com>
Fri, 7 Mar 2014 21:55:48 +0000 (16:55 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 7 Mar 2014 23:06:59 +0000 (18:06 -0500)
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

v2:
  - Add $(RADEON_CFLAGS) to libllvmradeon_la_CFLAGS

Tested-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/radeon/Makefile.am
src/gallium/drivers/radeon/Makefile.sources

index 7971191e4c68d4233b42f043aea0ea1c9a1e5c7d..b521658b02ce2319621d904c188cca1003afc526 100644 (file)
@@ -17,6 +17,7 @@ noinst_LTLIBRARIES += libllvmradeon.la
 
 libllvmradeon_la_CFLAGS = \
        $(GALLIUM_DRIVER_CFLAGS) \
+       $(RADEON_CFLAGS) \
        $(LLVM_CFLAGS)
 
 libllvmradeon_la_SOURCES = \
index 6ebed2cf41e197dacb4d6a59545554f74fe4ba46..0062d4b4e671574f368617c4c80b709490eaff90 100644 (file)
@@ -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