summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-21 22:28:46 +0000
committerChris Lattner <sabre@nondot.org>2003-08-21 22:28:46 +0000
commit558085b76c1a66f805d660fbff88add919ff7029 (patch)
treeaeae753daf15d1879d9e01d5297489fd86e76003
parentb42c15396cd71804a9b86ca6a5ff856bc394e853 (diff)
downloadbcm5719-llvm-558085b76c1a66f805d660fbff88add919ff7029.tar.gz
bcm5719-llvm-558085b76c1a66f805d660fbff88add919ff7029.zip
Include the top-level Makefile.config from the LLVM tree for projects
llvm-svn: 8035
-rw-r--r--llvm/Makefile.common4
-rw-r--r--llvm/Makefile.rules4
2 files changed, 8 insertions, 0 deletions
diff --git a/llvm/Makefile.common b/llvm/Makefile.common
index 7effb4cd204..47c5f7b5dea 100644
--- a/llvm/Makefile.common
+++ b/llvm/Makefile.common
@@ -50,7 +50,11 @@
#
# Configuration file to set paths specific to local installation of LLVM
#
+ifdef LLVM_SRC_ROOT
+include $(LLVM_SRC_ROOT)/Makefile.config
+else
include $(LEVEL)/Makefile.config
+endif
###########################################################################
# Directory Configuration
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 7effb4cd204..47c5f7b5dea 100644
--- a/llvm/Makefile.rules
+++ b/llvm/Makefile.rules
@@ -50,7 +50,11 @@
#
# Configuration file to set paths specific to local installation of LLVM
#
+ifdef LLVM_SRC_ROOT
+include $(LLVM_SRC_ROOT)/Makefile.config
+else
include $(LEVEL)/Makefile.config
+endif
###########################################################################
# Directory Configuration
OpenPOWER on IntegriCloud