cross-build/Make: Update cross build to properly forward ARCH and
[oota-llvm.git] / Makefile.rules
index f9ca8e688b8883bd2b9909e4f5f7f75da6b0d8cd..7bef65078845e62da1a2d5de960343182c389dd6 100644 (file)
@@ -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