[PATCH] Makefile: echo size check error to stderr
Sascha Hauer
s.hauer at pengutronix.de
Mon Jun 25 08:03:26 EDT 2012
To be able to see it when in my build tests stdout goes to /dev/null
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 9294049..ff56591 100644
--- a/Makefile
+++ b/Makefile
@@ -540,7 +540,7 @@ quiet_cmd_check_file_size = CHKSIZE $@
max_size=`printf "%d" $2`; \
if [ $$size -gt $$max_size ] ; \
then \
- echo "$@ size $$size > of the maximum size $$max_size"; \
+ echo "$@ size $$size > of the maximum size $$max_size" >&2; \
exit 1 ; \
fi;
--
1.7.10
More information about the barebox
mailing list