From 90daff4cf8a86622012217d3be7ce136c313a896 Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Mon, 9 Mar 2020 21:14:06 +0900 Subject: build: image: move IMAGE_SIZE to image.mk IMAGE_SIZE is widely used in many targets. Declare it in the default template to clean up redundant code. This also prevents deriving IMAGE_SIZE unintentionally from the previously defined device. While at it, remove duplicate KERNEL_SIZE declaration. Signed-off-by: Sungbo Eo --- target/linux/apm821xx/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/apm821xx') diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile index 108f63cb7a..1b0bc477a9 100644 --- a/target/linux/apm821xx/image/Makefile +++ b/target/linux/apm821xx/image/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk -DEVICE_VARS += IMAGE_SIZE DTB_SIZE +DEVICE_VARS += DTB_SIZE define Build/boot-img $(RM) -rf $@.bootdir -- cgit v1.2.3