From fa41f632226147183fb7a45e13b4a21b3b6b3b94 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Wed, 18 Jul 2018 11:07:34 +0800 Subject: Makefiles.rules: Silence cmp When building with stdout redirected to /dev/null: make buildall -j >/dev/null One would still see "error" message like: cmp: build/hammer/ec_version.h: No such file or directory BRANCH=none BUG=none TEST=make buildall -j > /dev/null is quiet again. Change-Id: I3ee9d090d3d46a70a096db0bebbfecaf293dca6d Signed-off-by: Nicolas Boichat Reviewed-on: https://chromium-review.googlesource.com/1141448 Commit-Ready: Patrick Georgi Tested-by: Patrick Georgi Reviewed-by: Patrick Georgi --- Makefile.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.rules') diff --git a/Makefile.rules b/Makefile.rules index cf7abab0c4..8b9c998338 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -85,7 +85,7 @@ cmd_cxx_to_host = $(HOSTCXX) -std=c++0x $(COMMON_WARN) $(HOST_CXXFLAGS)\ -I ./$($(notdir $@)_ROOT) -o $@ $(filter %.cc,$^) $($(notdir $@)_LIBS) cmd_host_test = ./util/run_host_test $* $(silent) # generate new version.h, compare if it changed and replace if so -cmd_version = ./util/getversion.sh > $@.tmp && cmp $@.tmp $@ >/dev/null || mv $@.tmp $@; rm -f $@.tmp +cmd_version = ./util/getversion.sh > $@.tmp && cmp -s $@.tmp $@ || mv $@.tmp $@; rm -f $@.tmp cmd_vif = $(out)/util/genvif -b $(BOARD) -o $(out) cmd_mv_from_tmp = mv $(out)/$*.bin.tmp $(out)/$*.bin cmd_extractrw-y = dd if=$(out)/$(PROJECT).bin.tmp of=$(out)/$(PROJECT).RW.bin \ -- cgit v1.2.1