treewide: omit IMAGE_SIZE argument from check-size
[openwrt/staging/chunkeey.git] / target / linux / lantiq / image / Makefile
index 87a4110f7ed4cd8bef0a75daa8cf6e35914b6b4a..b169d93859c1fd1c1389ecf97b4ecc9d9b1ebbb0 100644 (file)
@@ -67,7 +67,7 @@ define Device/Default
   DEVICE_DTS = $$(SOC)_$(1)
   SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
   IMAGES := sysupgrade.bin
-  IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
+  IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size
 endef
 
 define Device/NAND/xway
@@ -92,13 +92,13 @@ endef
 define Device/lantiqBrnImage
   KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict
   IMAGES := factory.bin
-  IMAGE/factory.bin := mkbrnimg | check-size $$$$(IMAGE_SIZE)
+  IMAGE/factory.bin := mkbrnimg | check-size
 endef
 
 define Device/lantiqFullImage
   KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | pad-offset 4 0
   IMAGES := sysupgrade.bin fullimage.bin
-  IMAGE/fullimage.bin := fullimage | check-size $$$$(IMAGE_SIZE)
+  IMAGE/fullimage.bin := fullimage | check-size
 endef
 
 define Device/AVM
@@ -106,7 +106,7 @@ define Device/AVM
   KERNEL := kernel-bin | append-dtb | lzma | eva-image
   KERNEL_INITRAMFS := $$(KERNEL)
   IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | append-avm-fakeroot | \
-       append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
+       append-rootfs | pad-rootfs | append-metadata | check-size
 endef
 
 ifeq ($(SUBTARGET),ase)