Do not print `***' when compiling unless we fall over
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Jan 2009 10:17:12 +0000 (10:17 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Jan 2009 10:17:12 +0000 (10:17 +0000)
This has finally bugged me enough to do something about it:

make prints `***' when it stops due to an error.  With make -j, and/or
with automated build systems, this error marker can be in the middle
of a large logfile.  It is useful to be able to search for it.

Therefore change occurrences of `*' to `=' for information and warning
messages.  `***' is reserved for cases where the build stops.

A corresponding change is being applied to qemu-xen-unstable.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
buildconfigs/mk.linux-2.6-common
docs/check_pkgs
tools/blktap/drivers/Makefile
tools/firmware/Makefile
tools/vtpm/Makefile

index 6561e4e43987d3c6096c8b8c3e4c26700e289d40..6f203eff3a0ed9bf08d618441fe713e89154e98d 100644 (file)
@@ -100,10 +100,10 @@ ifneq ($(EXTRAVERSION),)
 endif
        $(__NONINT_CONFIG) $(MAKE) -C $(LINUX_SRCDIR) ARCH=$(LINUX_ARCH) oldconfig O=$$(/bin/pwd)/$(LINUX_DIR)
        @set -e ; if [ ! -f $(LINUX_DIR)/Makefile ] ; then \
-           echo "***********************************"; \
+           echo "==================================="; \
            echo "oldconfig did not create a Makefile"; \
            echo "Generating $(LINUX_DIR)/Makefile   "; \
-           echo "***********************************"; \
+           echo "==================================="; \
            ( echo "# Automatically generated: don't edit"; \
              echo ""; \
              echo "VERSION = 2"; \
index a4835a4b9179d4f4ceb1c774745477c599c06804..68fb76db12d7b1212dc71cf33f670765eacb301f 100644 (file)
@@ -2,12 +2,12 @@
 silent_which ()
 {
         which $1 1>/dev/null 2>/dev/null || {
-                echo "*************************************************"
-                echo "*************************************************"
-                echo "* WARNING: Package '$1' is required"
-                echo "*          to build Xen documentation"
-                echo "*************************************************"
-                echo "*************************************************"
+                echo "================================================="
+                echo "================================================="
+                echo "= WARNING: Package '$1' is required"
+                echo "=          to build Xen documentation"
+                echo "================================================="
+                echo "================================================="
         }
         which $1 1>/dev/null 2>/dev/null
 }
index 36af03fa2c67962d526fad74e05c4e02c5c37320..3f2a7585d2ff13161a5c8b6b0608942bbcf949fd 100644 (file)
@@ -18,7 +18,7 @@ CFLAGS += -DUSE_GCRYPT
 CRYPT_LIB := -lgcrypt
 else
 CRYPT_LIB := -lcrypto
-$(warning *** libgcrypt not installed: falling back to libcrypto ***)
+$(warning === libgcrypt not installed: falling back to libcrypto ===)
 endif
 
 LDFLAGS_blktapctrl := $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenstore) -L../lib -lblktap
index a9bc54da5c23848e3a8379db34ff91d2a9fd86a6..f4829d523516768512a3778566c1d455e7acd85a 100644 (file)
@@ -15,10 +15,10 @@ SUBDIRS += hvmloader
 .PHONY: all
 all:
        @set -e; if [ $$((`( bcc -v 2>&1 | grep version || echo 0.0.0 ) | cut -d' ' -f 3 | awk -F. '{ printf "0x%02x%02x%02x", $$1, $$2, $$3}'`)) -lt $$((0x00100e)) ] ; then \
-       echo "***********************************************************"; \
+       echo "==========================================================="; \
        echo "Require dev86 package version >= 0.16.14 to build firmware!"; \
        echo "(visit http://www.cix.co.uk/~mayday for more information)"; \
-       echo "***********************************************************"; \
+       echo "==========================================================="; \
        else \
        $(MAKE) subdirs-$@; \
        fi
index aeab129cbb15969f95df23bd2acd4643025d7dd5..d1cf6caf931025cee273dee430f0b866adf73d1f 100644 (file)
@@ -89,6 +89,6 @@ build_sub:
                        $(MAKE) -C $(TPM_EMULATOR_DIR); \
                fi \
        else \
-               echo "*** Unable to build VTPMs. libgmp could not be found."; \
+               echo "=== Unable to build VTPMs. libgmp could not be found."; \
        fi