diff options
author | Sebastian Pop <spop@codeaurora.org> | 2012-08-27 23:05:06 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2012-08-27 23:05:06 +0000 |
commit | 94a935f072452d00207b1e8c1da75c31bb2a5f9b (patch) | |
tree | d361eca389dfde2929dcb15534f6a5739cc704c6 /Makefile.rules | |
parent | e1630e01dee7f131eda6c1ddac4b6776fa1b31f4 (diff) |
Add --program-prefix support to build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.rules b/Makefile.rules index 289adc2be4..11837558fe 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -548,22 +548,22 @@ else LLVM_CONFIG := $(LLVMToolDir)/llvm-config$(EXEEXT) endif ifndef LLVMDIS -LLVMDIS := $(LLVMToolDir)/llvm-dis$(EXEEXT) +LLVMDIS := $(LLVMToolDir)/$(program_prefix)llvm-dis$(EXEEXT) endif ifndef LLI -LLI := $(LLVMToolDir)/lli$(EXEEXT) +LLI := $(LLVMToolDir)/$(program_prefix)lli$(EXEEXT) endif ifndef LLC -LLC := $(LLVMToolDir)/llc$(EXEEXT) +LLC := $(LLVMToolDir)/$(program_prefix)llc$(EXEEXT) endif ifndef LOPT -LOPT := $(LLVMToolDir)/opt$(EXEEXT) +LOPT := $(LLVMToolDir)/$(program_prefix)opt$(EXEEXT) endif ifndef LBUGPOINT -LBUGPOINT := $(LLVMToolDir)/bugpoint$(EXEEXT) +LBUGPOINT := $(LLVMToolDir)/$(program_prefix)bugpoint$(EXEEXT) endif ifndef LLVMLINK -LLVMLINK := $(LLVMToolDir)/llvm-link$(EXEEXT) +LLVMLINK := $(LLVMToolDir)/$(program_prefix)llvm-link$(EXEEXT) endif #-------------------------------------------------------------------- @@ -1541,7 +1541,7 @@ ToolBinDir = $(DESTDIR)$(PROJ_internal_prefix)/bin else ToolBinDir = $(DESTDIR)$(PROJ_bindir) endif -DestTool = $(ToolBinDir)/$(TOOLEXENAME) +DestTool = $(ToolBinDir)/$(program_prefix)$(TOOLEXENAME) install-local:: $(DestTool) @@ -1556,7 +1556,7 @@ uninstall-local:: # TOOLALIAS install. ifdef TOOLALIAS -DestToolAlias = $(ToolBinDir)/$(TOOLALIAS)$(EXEEXT) +DestToolAlias = $(ToolBinDir)/$(program_prefix)$(TOOLALIAS)$(EXEEXT) install-local:: $(DestToolAlias) |