From a499d0a6b55715070f65b72b25436530c3909135 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 4 Sep 2016 09:58:02 +0200 Subject: image: specify max image size in Kilobyte/Megabyte Use the k and m unit suffix to be consistent with the blocksize. Signed-off-by: Mathias Kresin --- target/linux/apm821xx/image/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/apm821xx') diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile index 3ec8ae0cee..607df061f1 100644 --- a/target/linux/apm821xx/image/Makefile +++ b/target/linux/apm821xx/image/Makefile @@ -152,7 +152,7 @@ define Device/WNDR4700 SUBPAGESIZE := 512 BLOCKSIZE := 128k DTB_SIZE := 131008 - IMAGE_SIZE:=25559040 + IMAGE_SIZE := 24960k IMAGES := factory.img sysupgrade.tar KERNEL_SIZE := 1920k KERNEL := dtb | kernel-bin | lzma | uImage lzma | pad-offset $$(BLOCKSIZE) 64 | append-fakerootfs @@ -220,7 +220,7 @@ endef define Device/MyBookLiveDefault IMAGE_SIZE := 48m - BLOCKSIZE := 1024 + BLOCKSIZE := 1k DTB_SIZE := 16384 KERNEL := kernel-bin | dtb | gzip | uImage gzip BOOT_SIZE := 8 -- cgit v1.2.3