summaryrefslogtreecommitdiff
path: root/tools/llc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llc/Makefile')
-rw-r--r--tools/llc/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index 7319aada48..b32d5575d5 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -7,15 +7,9 @@
#
##===----------------------------------------------------------------------===##
-LEVEL = ../..
-TOOLNAME = llc
+LEVEL := ../..
+TOOLNAME := llc
+LINK_COMPONENTS := all-targets bitreader asmparser
-# Include this here so we can get the configuration of the targets
-# that have been configured for construction. We have to do this
-# early so we can set up LINK_COMPONENTS before including Makefile.rules
-include $(LEVEL)/Makefile.config
-
-LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader asmparser
-
-include $(LLVM_SRC_ROOT)/Makefile.rules
+include $(LEVEL)/Makefile.common