aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-02-21 11:45:33 +0000
committerJonas Gorski <jogo@openwrt.org>2013-02-21 11:45:33 +0000
commit1cd62d06ca8c46f29ff6e7ffc1ada30aa72cf1cc (patch)
treedbebb0f5f5b54e903564b21f8f694484853735df /target/linux/ramips
parenta0956a88d42335b94dec0c84ee3b275bf9e122ee (diff)
downloadupstream-1cd62d06ca8c46f29ff6e7ffc1ada30aa72cf1cc.tar.gz
upstream-1cd62d06ca8c46f29ff6e7ffc1ada30aa72cf1cc.tar.bz2
upstream-1cd62d06ca8c46f29ff6e7ffc1ada30aa72cf1cc.zip
ramips: 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: 35721
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/image/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 75f0e50d64..d88bc95edb 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -63,9 +63,9 @@ endef
define MkCombineduImage
$(call PatchKernelLzma,$(2),$(3))
if [ `stat -c%s "$(KDIR)/vmlinux-$(2).bin.lzma"` -gt `expr $(4) - 64` ]; then \
- echo "Warning: $(KDIR)/vmlinux-$(2).bin.lzma is too big"; \
+ echo "Warning: $(KDIR)/vmlinux-$(2).bin.lzma is too big" >&2; \
else if [ `stat -c%s "$(KDIR)/root.$(1)"` -gt $(5) ]; then \
- echo "Warning: $(KDIR)/root.$(1) is too big"; \
+ echo "Warning: $(KDIR)/root.$(1) is too big" >&2; \
else \
( dd if=$(KDIR)/vmlinux-$(2).bin.lzma bs=`expr $(4) - 64` conv=sync ; dd if=$(KDIR)/root.$(1) ) > $(KDIR)/vmlinux-$(2).bin.lzma.combined ; \
fi ; fi
@@ -74,9 +74,9 @@ endef
define CatFiles
if [ `stat -c%s "$(1)"` -gt $(2) ]; then \
- echo "Warning: $(1) is too big"; \
+ echo "Warning: $(1) is too big" >&2; \
else if [ `stat -c%s $(3)` -gt $(4) ]; then \
- echo "Warning: $(3) is too big"; \
+ echo "Warning: $(3) is too big" >&2; \
else \
( dd if=$(1) bs=$(2) conv=sync; dd if=$(3) ) > $(5); \
fi; fi
@@ -319,9 +319,9 @@ endef
define BuildFirmware/Seama
$(call PatchKernelLzma,$(2),$(3))
if [ `stat -c%s "$(KDIR)/vmlinux-$(2).bin.lzma"` -gt $(4) ]; then \
- echo "Warning: $(KDIR)/vmlinux-$(2).bin.lzma is too big"; \
+ echo "Warning: $(KDIR)/vmlinux-$(2).bin.lzma is too big" >&2; \
else if [ `stat -c%s $(KDIR)/root.$(1)` -gt $(5) ]; then \
- echo "Warning: $(KDIR)/root.$(1) is too big"; \
+ echo "Warning: $(KDIR)/root.$(1) is too big" >&2; \
else \
( \
dd if=$(KDIR)/vmlinux-$(2).bin.lzma bs=$(4) count=1 conv=sync; \