summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-11-30 11:24:21 -0500
committerAndreas Boll <andreas.boll.dev@gmail.com>2012-11-30 20:22:34 +0100
commit9213e300dfc6d0e12dbba1228dc79a0578b2805a (patch)
tree3ac01d6b9060c6de7b186394a72c3d8e5a9fa005
parent40462d678f3a78880d137b259e798af8bdeb3176 (diff)
radeon/llvm: Disable building of in-tree R600 backend
This is temproary until the LLVM 3.2 release happens and we can sort out how we are going to distribute the 3.2 version of the backend.
-rw-r--r--src/gallium/drivers/radeon/Makefile.am9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeon/Makefile.am b/src/gallium/drivers/radeon/Makefile.am
index eb7cf1a8ff..cbad5b70e9 100644
--- a/src/gallium/drivers/radeon/Makefile.am
+++ b/src/gallium/drivers/radeon/Makefile.am
@@ -10,17 +10,14 @@ AM_CFLAGS = \
$(GALLIUM_CFLAGS) \
$(LLVM_CFLAGS)
+AM_CPPFLAGS = -DEXTERNAL_LLVM
+
tablegen = $(LLVM_BINDIR)/llvm-tblgen -I $(LLVM_INCLUDEDIR) -I $(srcdir) $1 $2 -o $3
libradeon_la_SOURCES = \
- $(LLVM_GENERATED_FILES) \
- $(LLVM_CPP_FILES) \
$(CXX_FILES) \
$(C_FILES)
-BUILT_SOURCES = $(LLVM_GENERATED_FILES)
-CLEANFILES = $(LLVM_GENERATED_FILES)
-
SIRegisterInfo.td: SIGenRegisterInfo.pl
$(AM_V_GEN) $(PERL) $^ > $@
@@ -63,4 +60,4 @@ AMDGPUGenMCCodeEmitter.inc: $(TD_FILES)
AMDGPUGenDFAPacketizer.inc: $(TD_FILES)
$(AM_V_GEN) $(call tablegen, -gen-dfa-packetizer, $(srcdir)/AMDGPU.td, $@)
-CLEANFILES += libradeon.a
+CLEANFILES = libradeon.a