diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/Makefile.common | 4 | ||||
| -rw-r--r-- | llvm/Makefile.rules | 4 |
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 |

