toolchain/crosstool-ng: sprinkle with some calls to MESSAGE
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 20 Jan 2013 06:03:46 +0000 (06:03 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 20 Jan 2013 21:10:44 +0000 (22:10 +0100)
Thus, the failing step can be easily extracted by autobuilders,
to ease with post-mortem analysis.

At the same time, remove two debug echoes (Arnout).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/toolchain-crosstool-ng/crosstool-ng.mk

index c09f732001b7833c38a121056717f2f7f8a07a4b..6554982548594bd048d9afa63298d94e2f601ab3 100644 (file)
@@ -68,9 +68,7 @@ $(STAMP_DIR)/ct-ng-toolchain-installed: $(STAMP_DIR)/ct-ng-toolchain-built
        $(Q)mkdir -p $(TARGET_DIR)/lib
        $(Q)CTNG_TUPLE="$$( $(call ctng,show-tuple 2>&1) )";                \
            CTNG_SYSROOT="$(HOST_DIR)/usr/$${CTNG_TUPLE}/sysroot";          \
-           echo "CTNG_TUPLE='$${CTNG_TUPLE}'";                             \
-           echo "CTNG_SYSROOT='$${CTNG_SYSROOT}'";                         \
-           echo "Copy external toolchain libraries to target...";          \
+           $(call MESSAGE,"Copying toolchain libraries to target...");     \
            for libs in $(CTNG_LIBS_LIB); do                                \
                $(call copy_toolchain_lib_root,$${CTNG_SYSROOT},,lib,$$libs,/lib); \
            done;                                                           \
@@ -85,6 +83,7 @@ $(STAMP_DIR)/ct-ng-toolchain-installed: $(STAMP_DIR)/ct-ng-toolchain-built
 #       depending on the selected C library. Those deps are added later
 
 $(STAMP_DIR)/ct-ng-toolchain-built: $(CTNG_DIR)/.config
+       $(Q)$(call MESSAGE,"Building the crosstool-NG toolchain")
        $(Q)$(call ctng,build.$(PARALLEL_JOBS))
        $(Q)printf "\n"
        $(Q)touch $@