llvm.org GIT mirror llvm / 01b825d
cross-build/Make: Update cross build to properly forward ARCH and TARGETS_TO_BUILD variables to build tools submake, and also tweak echo command to indicate when we are compiling/etc build tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144419 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 7 years ago
2 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
125125 $(MAKE) -C BuildTools \
126126 BUILD_DIRS_ONLY=1 \
127127 UNIVERSAL= \
128 ARCH="$(ARCH)" \
129 TARGETS_TO_BUILD="$(TARGETS_TO_BUILD)" \
128130 ENABLE_OPTIMIZED=$(ENABLE_OPTIMIZED) \
129131 ENABLE_PROFILING=$(ENABLE_PROFILING) \
130132 ENABLE_COVERAGE=$(ENABLE_COVERAGE) \
505505 #--------------------------------------------------------------------
506506 # Full Paths To Compiled Tools and Utilities
507507 #--------------------------------------------------------------------
508 EchoCmd = $(ECHO) llvm[$(MAKELEVEL)]:
509 Echo = @$(EchoCmd)
508 EchoCmd := $(ECHO) llvm[$(MAKELEVEL)]:
509 ifdef BUILD_DIRS_ONLY
510 EchoCmd := $(EchoCmd) "(build tools)":
511 endif
512
513 Echo := @$(EchoCmd)
510514 ifndef LLVMAS
511515 LLVMAS := $(LLVMToolDir)/llvm-as$(EXEEXT)
512516 endif