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/ath79/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ath79/image/Makefile') diff --git a/target/linux/ath79/image/Makefile b/target/linux/ath79/image/Makefile index a28658ec0b..c27db93947 100644 --- a/target/linux/ath79/image/Makefile +++ b/target/linux/ath79/image/Makefile @@ -3,7 +3,7 @@ include $(INCLUDE_DIR)/image.mk KERNEL_LOADADDR = 0x80060000 -DEVICE_VARS += IMAGE_SIZE LOADER_FLASH_OFFS LOADER_TYPE +DEVICE_VARS += LOADER_FLASH_OFFS LOADER_TYPE define Build/loader-common rm -rf $@.src -- cgit v1.2.3