forked from Ivasoft/openwrt
treewide: omit IMAGE_SIZE argument from check-size
Now that check-size uses IMAGE_SIZE by default, we can skip the argument from image recipes to reduce redundancy. Signed-off-by: Sungbo Eo <mans0n@gorani.run> [do not touch ar71xx] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
committed by
Adrian Schmutzler
parent
1444e31a7b
commit
3f14f034fb
@@ -12,7 +12,7 @@ define Device/tplink-v1
|
||||
IMAGES += factory.bin
|
||||
IMAGE/factory.bin := tplink-v1-image factory -e -O
|
||||
IMAGE/sysupgrade.bin := tplink-v1-image sysupgrade -e -O | append-metadata | \
|
||||
check-size $$$$(IMAGE_SIZE)
|
||||
check-size
|
||||
endef
|
||||
|
||||
define Device/tplink-v2
|
||||
@@ -27,7 +27,7 @@ define Device/tplink-v2
|
||||
IMAGES += factory.bin
|
||||
IMAGE/factory.bin := tplink-v2-image -e
|
||||
IMAGE/sysupgrade.bin := tplink-v2-image -s -e | append-metadata | \
|
||||
check-size $$$$(IMAGE_SIZE)
|
||||
check-size
|
||||
endef
|
||||
|
||||
define Device/tplink-safeloader
|
||||
@@ -39,6 +39,6 @@ define Device/tplink-safeloader
|
||||
KERNEL := $(KERNEL_DTB) | tplink-v1-header -e -O
|
||||
IMAGES += factory.bin
|
||||
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
|
||||
append-metadata | check-size $$$$(IMAGE_SIZE)
|
||||
append-metadata | check-size
|
||||
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user