mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
2
Makefile
2
Makefile
@@ -126,6 +126,8 @@ cross-compile-build-tools:
|
|||||||
$(MAKE) -C BuildTools \
|
$(MAKE) -C BuildTools \
|
||||||
BUILD_DIRS_ONLY=1 \
|
BUILD_DIRS_ONLY=1 \
|
||||||
UNIVERSAL= \
|
UNIVERSAL= \
|
||||||
|
ARCH="$(ARCH)" \
|
||||||
|
TARGETS_TO_BUILD="$(TARGETS_TO_BUILD)" \
|
||||||
ENABLE_OPTIMIZED=$(ENABLE_OPTIMIZED) \
|
ENABLE_OPTIMIZED=$(ENABLE_OPTIMIZED) \
|
||||||
ENABLE_PROFILING=$(ENABLE_PROFILING) \
|
ENABLE_PROFILING=$(ENABLE_PROFILING) \
|
||||||
ENABLE_COVERAGE=$(ENABLE_COVERAGE) \
|
ENABLE_COVERAGE=$(ENABLE_COVERAGE) \
|
||||||
|
@@ -506,8 +506,12 @@ endif
|
|||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Full Paths To Compiled Tools and Utilities
|
# Full Paths To Compiled Tools and Utilities
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
EchoCmd = $(ECHO) llvm[$(MAKELEVEL)]:
|
EchoCmd := $(ECHO) llvm[$(MAKELEVEL)]:
|
||||||
Echo = @$(EchoCmd)
|
ifdef BUILD_DIRS_ONLY
|
||||||
|
EchoCmd := $(EchoCmd) "(build tools)":
|
||||||
|
endif
|
||||||
|
|
||||||
|
Echo := @$(EchoCmd)
|
||||||
ifndef LLVMAS
|
ifndef LLVMAS
|
||||||
LLVMAS := $(LLVMToolDir)/llvm-as$(EXEEXT)
|
LLVMAS := $(LLVMToolDir)/llvm-as$(EXEEXT)
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user