diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-02-21 11:45:31 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-02-21 11:45:31 +0000 |
commit | a0956a88d42335b94dec0c84ee3b275bf9e122ee (patch) | |
tree | b017d8e3a07071bbcf1f406cca4c7331422ddc88 /target | |
parent | b91eab631b2d06e18c076526dba370d52e92c0da (diff) | |
download | mtk-20170518-a0956a88d42335b94dec0c84ee3b275bf9e122ee.zip mtk-20170518-a0956a88d42335b94dec0c84ee3b275bf9e122ee.tar.gz mtk-20170518-a0956a88d42335b94dec0c84ee3b275bf9e122ee.tar.bz2 |
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>
SVN-Revision: 35720
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/cns21xx/image/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/cns21xx/image/Makefile b/target/linux/cns21xx/image/Makefile index 711a85e..dd2d5d0 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)); \ ( \ |