diff options
author | Mathias Kresin <dev@kresin.me> | 2016-09-04 09:58:02 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-09-04 09:58:02 +0200 |
commit | a499d0a6b55715070f65b72b25436530c3909135 (patch) | |
tree | 257e361e18183255f801839c783222caa4a7c4d4 /target/linux/apm821xx | |
parent | e7ec7a08aae0afb1064d1bf26a9cd6fe1e64d516 (diff) | |
download | upstream-a499d0a6b55715070f65b72b25436530c3909135.tar.gz upstream-a499d0a6b55715070f65b72b25436530c3909135.tar.bz2 upstream-a499d0a6b55715070f65b72b25436530c3909135.zip |
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 <dev@kresin.me>
Diffstat (limited to 'target/linux/apm821xx')
-rw-r--r-- | target/linux/apm821xx/image/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |