2
0
forked from Ivasoft/openwrt

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 <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler
2019-07-22 18:09:57 +02:00
parent 363197311b
commit 9d87a58d34
7 changed files with 182 additions and 187 deletions

View File

@@ -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