ramips: check size after padding
authorFelix Fietkau <nbd@openwrt.org>
Wed, 27 May 2015 14:56:22 +0000 (14:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 27 May 2015 14:56:22 +0000 (14:56 +0000)
Signed-off-by: Cristian Morales Vega <cristian@samknows.com>
SVN-Revision: 45777

target/linux/ramips/image/Makefile

index b0b3579..422366c 100644 (file)
@@ -35,7 +35,7 @@ define Device/Default
   KERNEL := $(KERNEL_DTB) | uImage lzma
   IMAGES := sysupgrade.bin
   IMAGE_SIZE := $(ralink_default_fw_size_8M)
-  IMAGE/sysupgrade.bin := append-kernel | append-rootfs | check-size $$$$(IMAGE_SIZE) | pad-rootfs
+  IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
 endef
 
 define Build/patch-dtb