aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-05-25 08:27:55 +0000
committerJonas Gorski <jogo@openwrt.org>2015-05-25 08:27:55 +0000
commit497fdc3f09ca5a6c93581ce3dc4f0bba7f726312 (patch)
tree0aa4e65725bd0e12dbf15ac48c6bd14725e9986b /include/image.mk
parent47e0c2815381ba397103e045a63b2092119a1038 (diff)
downloadupstream-497fdc3f09ca5a6c93581ce3dc4f0bba7f726312.tar.gz
upstream-497fdc3f09ca5a6c93581ce3dc4f0bba7f726312.tar.bz2
upstream-497fdc3f09ca5a6c93581ce3dc4f0bba7f726312.zip
image.mk: make image too big warnings more visible
Output warnings through stderr to allow them to be easilier spotted when building with V=w. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45746
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/image.mk b/include/image.mk
index 921d78d10d..f6f30c59b0 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -321,7 +321,7 @@ endef
define Build/check-size
@[ $$(($(subst k,* 1024,$(subst m, * 1024k,$(1))))) -gt "$$(stat -c%s $@)" ] || { \
- echo "WARNING: Image file $@ is too big"; \
+ echo "WARNING: Image file $@ is too big" >&2; \
rm -f $@; \
}
endef
@@ -378,7 +378,7 @@ endif
define Device/Build/check_size
@[ $$(($(subst k,* 1024,$(subst m, * 1024k,$(1))))) -gt "$$(stat -c%s $@)" ] || { \
- echo "WARNING: Image file $@ is too big"; \
+ echo "WARNING: Image file $@ is too big" >&2; \
rm -f $@; \
}
endef