aboutsummaryrefslogtreecommitdiffstats
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
commit0d9df306c80771e0aa5b51faaf68658447c590dc (patch)
tree0ddfb782466957e4c6ce6b554a57022b25ec37d6
parent1af89b3e6c1795b35d9df7ede6d1ef9437d1df64 (diff)
downloadupstream-0d9df306c80771e0aa5b51faaf68658447c590dc.tar.gz
upstream-0d9df306c80771e0aa5b51faaf68658447c590dc.tar.bz2
upstream-0d9df306c80771e0aa5b51faaf68658447c590dc.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45746 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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