Changeset 35720


Ignore:
Timestamp:
2013-02-21T12:45:31+01:00 (5 years ago)
Author:
jogo
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/cns21xx/image/Makefile

    r30974 r35720  
    6767define Image/Build/Generic 
    6868        if [ `stat -c%s "$(KDIR)/$(call zimage_name,$(2))"` -gt 1048576 ]; then \ 
    69                 echo "Warning: $(KDIR)/$(call zimage_name,$(2)) is too big"; \ 
     69                echo "Warning: $(KDIR)/$(call zimage_name,$(2)) is too big" >&2; \ 
    7070        else if [ `stat -c%s $(KDIR)/root.$(1)` -gt $(3) ]; then \ 
    71                 echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big"; \ 
     71                echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big" >&2; \ 
    7272        else \ 
    7373                cat $(KDIR)/root.$(1) > $(call rootfsname,$(1),$(2)); \ 
     
    8181define Image/Build/uImage 
    8282        if [ `stat -c%s "$(KDIR)/$(call uimage_name,$(2))"` -gt 1048576 ]; then \ 
    83                 echo "Warning: $(KDIR)/$(call uimage_name,$(2)) is too big"; \ 
     83                echo "Warning: $(KDIR)/$(call uimage_name,$(2)) is too big" >&2; \ 
    8484        else if [ `stat -c%s $(KDIR)/root.$(1)` -gt $(3) ]; then \ 
    85                 echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big"; \ 
     85                echo "Warning: of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) is too big" >&2; \ 
    8686        else \ 
    8787                cat $(KDIR)/root.$(1) > $(call rootfsname,$(1),$(2)); \ 
Note: See TracChangeset for help on using the changeset viewer.