From: Felix Fietkau Date: Fri, 8 May 2015 14:02:50 +0000 (+0000) Subject: ar71xx: allow mktplinkfw calls from the new image code to fail (because of oversized... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=e833ccbce7c6d55f956d90478e798c8695c7466d ar71xx: allow mktplinkfw calls from the new image code to fail (because of oversized images) Signed-off-by: Felix Fietkau SVN-Revision: 45646 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 00d61ba113..d6e6285c74 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -51,15 +51,14 @@ endef # -s strip padding from end of the image # -X reserve bytes in the firmware image (hexval prefixed with 0x) define Build/mktplinkfw - $(STAGING_DIR_HOST)/bin/mktplinkfw \ + -$(STAGING_DIR_HOST)/bin/mktplinkfw \ -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) \ -k $(word 1,$^) \ -r $@ \ -o $@.new \ -j -X 0x40000 \ -a $(call rootfs_align,$(FILESYSTEM)) \ - $(if $(findstring sysupgrade,$1),-s) - @mv $@.new $@ + $(if $(findstring sysupgrade,$1),-s) && mv $@.new $@ || rm -f $@ endef # -c combined image