aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2020-02-24 00:16:16 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-23 19:59:45 +0100
commit4528128b052299604ad37b0c9bc23f465cd40e98 (patch)
tree87d8f617ff37cc062a4176ec3fa819a5579bbb16 /target/linux/kirkwood
parentc24e01fcccdb8fe3f4a2c9134b584a6076b7c1ef (diff)
downloadupstream-4528128b052299604ad37b0c9bc23f465cd40e98.tar.gz
upstream-4528128b052299604ad37b0c9bc23f465cd40e98.tar.bz2
upstream-4528128b052299604ad37b0c9bc23f465cd40e98.zip
kirkwood: tidy up image Makefile
- use k in SIZE variables - break long lines Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/kirkwood')
-rw-r--r--target/linux/kirkwood/image/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile
index cbdfbc11ec..92188854a3 100644
--- a/target/linux/kirkwood/image/Makefile
+++ b/target/linux/kirkwood/image/Makefile
@@ -70,12 +70,13 @@ define Device/iom_ix2-200
DEVICE_TYPE:=nas
PAGESIZE := 512
SUBPAGESIZE := 256
- BLOCKSIZE := 16KiB
+ BLOCKSIZE := 16k
KERNEL_SIZE := 3072k
KERNEL_IN_UBI :=
UBINIZE_OPTS := -E 5
- IMAGE_SIZE := 32505856
- IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE)
+ IMAGE_SIZE := 31744k
+ IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | \
+ check-size $$$$(IMAGE_SIZE)
endef
TARGET_DEVICES += iom_ix2-200
@@ -85,7 +86,7 @@ define Device/linksys_audi
DEVICE_PACKAGES := kmod-mwl8k swconfig wpad-basic kmod-gpio-button-hotplug
PAGESIZE := 512
SUBPAGESIZE := 256
- BLOCKSIZE := 16KiB
+ BLOCKSIZE := 16k
KERNEL_SIZE := 2624k
KERNEL_IN_UBI :=
UBINIZE_OPTS := -E 5