Changeset 45646


Ignore:
Timestamp:
2015-05-08T16:02:50+02:00 (3 years ago)
Author:
nbd
Message:

ar71xx: allow mktplinkfw calls from the new image code to fail (because of oversized images)

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

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

    r45645 r45646  
    5252# -X reserve <size> bytes in the firmware image (hexval prefixed with 0x) 
    5353define Build/mktplinkfw 
    54         $(STAGING_DIR_HOST)/bin/mktplinkfw \ 
     54        -$(STAGING_DIR_HOST)/bin/mktplinkfw \ 
    5555                -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) \ 
    5656                -k $(word 1,$^) \ 
     
    5959                -j -X 0x40000 \ 
    6060                -a $(call rootfs_align,$(FILESYSTEM)) \ 
    61                 $(if $(findstring sysupgrade,$1),-s) 
    62         @mv $@.new $@ 
     61                $(if $(findstring sysupgrade,$1),-s) && mv $@.new $@ || rm -f $@ 
    6362endef 
    6463 
Note: See TracChangeset for help on using the changeset viewer.