Changeset 38125


Ignore:
Timestamp:
2013-09-22T22:14:22+02:00 (4 years ago)
Author:
juhosg
Message:

ar71xx: image: remove too big files in the CatFiles macro

Also improve the warning message.

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

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

    r38120 r38125  
    116116                ( dd if=$(1) bs=$$$${bs} conv=sync;  cat $(3) ) > $(5); \ 
    117117                if [ `stat -c%s $(5)` -gt $(4) ]; then \ 
    118                         echo "Warning: $(1) is too big" >&2; \ 
     118                        echo "Warning: $(5) is too big (> $(4) bytes)" >&2; \ 
     119                        rm -f $(5); \ 
    119120                fi; \ 
    120121        else if [ $(2) -gt 262144 -a `stat -c%s "$(1)"` -gt $(2) ]; then \ 
Note: See TracChangeset for help on using the changeset viewer.