From e518a9f031784fd4b097e460137999f86a11936e Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Wed, 26 Jan 2022 20:22:39 +0800 Subject: [PATCH] tools/Config.mk: suppress all normal output for cmp Fix build break: make: *** No rule to make target 'byte', needed by 'differ'. Stop. Regression by: ----------------------------------------------------- |commit 0951f70df6473cbde0fa338586da51edc604fe8f | | Improve dependencies for include/nuttx/version.h ----------------------------------------------------- Signed-off-by: chao.an --- tools/Config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Config.mk b/tools/Config.mk index a5091e6737..56f512f9ad 100644 --- a/tools/Config.mk +++ b/tools/Config.mk @@ -508,7 +508,7 @@ endef else define TESTANDREPLACEFILE if [ -f $2 ]; then \ - if cmp $1 $2; then \ + if cmp -s $1 $2; then \ rm -f $1; \ else \ mv $1 $2; \