diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-22 18:09:57 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-25 14:31:30 +0200 |
commit | 9d87a58d347a299a8d3c27b038d5bb8a7d8d5b89 (patch) | |
tree | 5c4a1bf8f193064092d6559efc27c3c279c2f355 /target/linux/ramips/image/mt7621.mk | |
parent | 363197311b342a59b3c67e4bd2dfea3b3030b456 (diff) | |
download | upstream-9d87a58d347a299a8d3c27b038d5bb8a7d8d5b89.tar.gz upstream-9d87a58d347a299a8d3c27b038d5bb8a7d8d5b89.tar.bz2 upstream-9d87a58d347a299a8d3c27b038d5bb8a7d8d5b89.zip |
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>
Diffstat (limited to 'target/linux/ramips/image/mt7621.mk')
-rw-r--r-- | target/linux/ramips/image/mt7621.mk | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index bb55fc34da..7f9491104a 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -86,7 +86,7 @@ endef define Device/afoundry_ew1200 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := AFOUNDRY DEVICE_MODEL := EW1200 DEVICE_PACKAGES := \ @@ -128,7 +128,7 @@ TARGET_DEVICES += buffalo_wsr-1166dhp define Device/buffalo_wsr-600dhp MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := Buffalo DEVICE_MODEL := WSR-600DHP DEVICE_PACKAGES := kmod-mt7603 kmod-rt2800-pci wpad-basic @@ -142,7 +142,7 @@ define Device/dlink_dir-860l-b1 BLOCKSIZE := 64k SEAMA_SIGNATURE := wrgac13_dlink.2013gui_dir860lb KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | uImage lzma - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := D-Link DEVICE_MODEL := DIR-860L DEVICE_VARIANT := B1 @@ -153,7 +153,7 @@ TARGET_DEVICES += dlink_dir-860l-b1 define Device/d-team_newifi-d2 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_32M) + IMAGE_SIZE := 32448k DEVICE_VENDOR := Newifi DEVICE_MODEL := D2 DEVICE_PACKAGES := \ @@ -163,7 +163,7 @@ TARGET_DEVICES += d-team_newifi-d2 define Device/d-team_pbr-m1 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := PandoraBox DEVICE_MODEL := PBR-M1 DEVICE_PACKAGES := \ @@ -209,7 +209,7 @@ TARGET_DEVICES += elecom_wrc-2533gst define Device/firefly_firewrt MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := Firefly DEVICE_MODEL := FireWRT DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic @@ -219,7 +219,7 @@ TARGET_DEVICES += firefly_firewrt define Device/gehua_ghl-r-001 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_32M) + IMAGE_SIZE := 32448k DEVICE_VENDOR := GeHua DEVICE_MODEL := GHL-R-001 DEVICE_PACKAGES := \ @@ -232,7 +232,7 @@ define Device/gnubee_gb-pc1 DEVICE_VENDOR := GnuBee DEVICE_MODEL := Personal Cloud One DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 - IMAGE_SIZE := $(ralink_default_fw_size_32M) + IMAGE_SIZE := 32448k endef TARGET_DEVICES += gnubee_gb-pc1 @@ -241,7 +241,7 @@ define Device/gnubee_gb-pc2 DEVICE_VENDOR := GnuBee DEVICE_MODEL := Personal Cloud Two DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 - IMAGE_SIZE := $(ralink_default_fw_size_32M) + IMAGE_SIZE := 32448k endef TARGET_DEVICES += gnubee_gb-pc2 @@ -284,7 +284,7 @@ TARGET_DEVICES += iodata_wn-gx300gr define Device/lenovo_newifi-d1 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_32M) + IMAGE_SIZE := 32448k DEVICE_VENDOR := Newifi DEVICE_MODEL := D1 DEVICE_PACKAGES := \ @@ -295,7 +295,7 @@ TARGET_DEVICES += lenovo_newifi-d1 define Device/linksys_re6500 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_8M) + IMAGE_SIZE := 7872k DEVICE_VENDOR := Linksys DEVICE_MODEL := RE6500 DEVICE_PACKAGES := kmod-mt76x2 wpad-basic @@ -305,7 +305,7 @@ TARGET_DEVICES += linksys_re6500 define Device/mediatek_ap-mt7621a-v60 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_8M) + IMAGE_SIZE := 7872k DEVICE_VENDOR := Mediatek DEVICE_MODEL := AP-MT7621A-V60 EVB DEVICE_PACKAGES := kmod-usb3 kmod-sdhci-mt7620 kmod-sound-mt7620 @@ -357,7 +357,7 @@ TARGET_DEVICES += mikrotik_rbm33g define Device/mqmaker_witi MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := MQmaker DEVICE_MODEL := WiTi DEVICE_PACKAGES := \ @@ -486,7 +486,7 @@ TARGET_DEVICES += planex_vr500 define Device/samknows_whitebox-v8 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := SamKnows DEVICE_MODEL := Whitebox 8 DEVICE_PACKAGES := \ @@ -498,7 +498,7 @@ TARGET_DEVICES += samknows_whitebox-v8 define Device/storylink_sap-g3200u3 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_8M) + IMAGE_SIZE := 7872k DEVICE_VENDOR := STORYLiNK DEVICE_MODEL := SAP-G3200U3 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic @@ -517,7 +517,7 @@ TARGET_DEVICES += telco-electronics_x1 define Device/thunder_timecloud MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := Thunder DEVICE_MODEL := Timecloud DEVICE_PACKAGES := kmod-usb3 @@ -615,7 +615,7 @@ TARGET_DEVICES += unielec_u7621-06-512m-64m define Device/wevo_11acnas MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := WeVO DEVICE_MODEL := 11AC NAS Router DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic @@ -625,7 +625,7 @@ TARGET_DEVICES += wevo_11acnas define Device/wevo_w2914ns-v2 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := WeVO DEVICE_MODEL := W2914NS DEVICE_VARIANT := v2 @@ -675,7 +675,7 @@ TARGET_DEVICES += xiaomi_mir3p define Device/xzwifi_creativebox-v1 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_32M) + IMAGE_SIZE := 32448k DEVICE_VENDOR := CreativeBox DEVICE_MODEL := v1 DEVICE_PACKAGES := \ @@ -696,7 +696,7 @@ TARGET_DEVICES += youhua_wr1200js define Device/youku_yk-l2 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := Youku DEVICE_MODEL := YK-L2 DEVICE_PACKAGES := \ @@ -706,7 +706,7 @@ TARGET_DEVICES += youku_yk-l2 define Device/zbtlink_zbt-we1326 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WE1326 DEVICE_PACKAGES := \ @@ -717,7 +717,7 @@ TARGET_DEVICES += zbtlink_zbt-we1326 define Device/zbtlink_zbt-we3526 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WE3526 DEVICE_PACKAGES := \ @@ -728,7 +728,7 @@ TARGET_DEVICES += zbtlink_zbt-we3526 define Device/zbtlink_zbt-wg2626 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WG2626 DEVICE_PACKAGES := \ @@ -740,7 +740,7 @@ TARGET_DEVICES += zbtlink_zbt-wg2626 define Device/zbtlink_zbt-wg3526-16m MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 16064k DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WG3526 DEVICE_VARIANT := 16M @@ -753,7 +753,7 @@ TARGET_DEVICES += zbtlink_zbt-wg3526-16m define Device/zbtlink_zbt-wg3526-32m MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_32M) + IMAGE_SIZE := 32448k DEVICE_VENDOR := ZBT DEVICE_MODEL := ZBT-WG3526 DEVICE_VARIANT := 32M |