aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns21xx/image/Makefile
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-02-21 11:45:31 +0000
committerJonas Gorski <jogo@openwrt.org>2013-02-21 11:45:31 +0000
commitc0aa3a9be3a6073d3c410fdfe724854c07bb3022 (patch)
treea6c1174ef1735dfe1fd2663fa9bc0d78502d14a4 /target/linux/cns21xx/image/Makefile
parent40128d4c238b6337ec31feb9381d5a668afa72e9 (diff)
downloadupstream-c0aa3a9be3a6073d3c410fdfe724854c07bb3022.tar.gz
upstream-c0aa3a9be3a6073d3c410fdfe724854c07bb3022.tar.bz2
upstream-c0aa3a9be3a6073d3c410fdfe724854c07bb3022.zip
cns21xx: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35720 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns21xx/image/Makefile')
-rw-r--r--target/linux/cns21xx/image/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/cns21xx/image/Makefile b/target/linux/cns21xx/image/Makefile
index 711a85e8f5..dd2d5d0c16 100644
--- a/target/linux/cns21xx/image/Makefile
+++ b/target/linux/cns21xx/image/Makefile
@@ -66,9 +66,9 @@ endef
define Image/Build/Generic
if [ `stat -c%s "$(KDIR)/$(call zimage_name,$(2))"` -gt 1048576 ]; then \
- echo "Warning: $(KDIR)/$(call zimage_name,$(2)) is too big"; \
+ echo "Warning: $(KDIR)/$(call zimage_name,$(2)) is too big" >&2; \
else if [ `stat -c%s $(KDIR)/root.$(1)` -gt $(3) ]; then \
- echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big"; \
+ echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big" >&2; \
else \
cat $(KDIR)/root.$(1) > $(call rootfsname,$(1),$(2)); \
( \
@@ -80,9 +80,9 @@ endef
define Image/Build/uImage
if [ `stat -c%s "$(KDIR)/$(call uimage_name,$(2))"` -gt 1048576 ]; then \
- echo "Warning: $(KDIR)/$(call uimage_name,$(2)) is too big"; \
+ echo "Warning: $(KDIR)/$(call uimage_name,$(2)) is too big" >&2; \
else if [ `stat -c%s $(KDIR)/root.$(1)` -gt $(3) ]; then \
- echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big"; \
+ echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big" >&2; \
else \
cat $(KDIR)/root.$(1) > $(call rootfsname,$(1),$(2)); \
( \