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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45646
This commit is contained in:
Felix Fietkau 2015-05-08 14:02:50 +00:00
parent 293b82501c
commit 7b01a650f8

View File

@ -51,15 +51,14 @@ endef
# -s strip padding from end of the image # -s strip padding from end of the image
# -X reserve <size> bytes in the firmware image (hexval prefixed with 0x) # -X reserve <size> bytes in the firmware image (hexval prefixed with 0x)
define Build/mktplinkfw 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) \ -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -F $(TPLINK_FLASHLAYOUT) -N OpenWrt -V $(REVISION) \
-k $(word 1,$^) \ -k $(word 1,$^) \
-r $@ \ -r $@ \
-o $@.new \ -o $@.new \
-j -X 0x40000 \ -j -X 0x40000 \
-a $(call rootfs_align,$(FILESYSTEM)) \ -a $(call rootfs_align,$(FILESYSTEM)) \
$(if $(findstring sysupgrade,$1),-s) $(if $(findstring sysupgrade,$1),-s) && mv $@.new $@ || rm -f $@
@mv $@.new $@
endef endef
# -c combined image # -c combined image