mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 21:00:29 +00:00
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. llvm-svn: 144419
This commit is contained in:
parent
981aa0a796
commit
1f7c44f88e
2
Makefile
2
Makefile
@ -126,6 +126,8 @@ cross-compile-build-tools:
|
||||
$(MAKE) -C BuildTools \
|
||||
BUILD_DIRS_ONLY=1 \
|
||||
UNIVERSAL= \
|
||||
ARCH="$(ARCH)" \
|
||||
TARGETS_TO_BUILD="$(TARGETS_TO_BUILD)" \
|
||||
ENABLE_OPTIMIZED=$(ENABLE_OPTIMIZED) \
|
||||
ENABLE_PROFILING=$(ENABLE_PROFILING) \
|
||||
ENABLE_COVERAGE=$(ENABLE_COVERAGE) \
|
||||
|
@ -506,8 +506,12 @@ endif
|
||||
#--------------------------------------------------------------------
|
||||
# Full Paths To Compiled Tools and Utilities
|
||||
#--------------------------------------------------------------------
|
||||
EchoCmd = $(ECHO) llvm[$(MAKELEVEL)]:
|
||||
Echo = @$(EchoCmd)
|
||||
EchoCmd := $(ECHO) llvm[$(MAKELEVEL)]:
|
||||
ifdef BUILD_DIRS_ONLY
|
||||
EchoCmd := $(EchoCmd) "(build tools)":
|
||||
endif
|
||||
|
||||
Echo := @$(EchoCmd)
|
||||
ifndef LLVMAS
|
||||
LLVMAS := $(LLVMToolDir)/llvm-as$(EXEEXT)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user