From 9d87a58d347a299a8d3c27b038d5bb8a7d8d5b89 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 22 Jul 2019 18:09:57 +0200 Subject: ramips: remove ralink_default_fw_size_xxx variables There are frequent examples of the ralink_default_fw_size_xxx variables being used to "roughly" set flash size without caring about the actual size of the firmware partition. To discourage this behavior, this patch removes the variables and just sets IMAGE_SIZE by its numeric value for each target. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/image/Makefile | 5 ----- 1 file changed, 5 deletions(-) (limited to 'target/linux/ramips/image/Makefile') diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 1eaf65c254..36f95b6d1c 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -147,11 +147,6 @@ define Build/sercom-footer $(call Build/sercom-seal,-f) endef -ralink_default_fw_size_4M=3866624 -ralink_default_fw_size_8M=8060928 -ralink_default_fw_size_16M=16449536 -ralink_default_fw_size_32M=33226752 - ifeq ($(SUBTARGET),rt288x) include rt288x.mk endif -- cgit v1.2.3