openwrt/target/linux/ath79/image
Adrian Schmutzler 47935940d6 ath79: fix SUPPORTED_DEVICES not matching ar71xx board names
Based on a script for comparison, this fixes (hopefully) all errors
in SUPPORTED_DEVICES for ar71xx->ath79 upgrade.

Devices where old string is removed as the device does not exist
in ar71xx:
- dlink_dir-859-a1
- tplink_archer-a7-v5
- tplink_cpe510-v3 [only in master]

Devices where string is changed because it did not match the board
name in ar71xx:
- tplink_tl-mr3220-v1
- tplink_tl-mr3420-v1
- tplink_tl-wr2543-v1
- tplink_tl-wr741nd-v4
- tplink_tl-wr841-v7
- ubnt_unifiac-mesh
- ubnt_unifiac-mesh-pro
- ubnt_unifiac-pro

For this device, the correct string could not be found, but we could
not determine the correct one. Thus, the string is removed for now:
- tplink_tl-wr740n-v4

The script for checking this is quite simple (note that newer
entries, i.e. ath79->ath79 upgrade, are displayed as missing):

  newpath=target/linux/ath79/image/
  oldpath=target/linux/ar71xx/base-files/lib/ar71xx.sh

  for s in $(grep -roh "SUPPORTED_DEVICES.*" $newpath | sed 's/SUPPORTED_DEVICES *.= *//'); do
    found="Missing"
    grep -q -r "\"$s\"" $oldpath && found="Found"
    echo "$s: $found."
  done

The errors might be filtered by appending 'grep "Missing"' to the script.

Fixes: FS#2751

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 07ce940b77)
2020-01-28 13:25:30 +01:00
..
lzma-loader ath79: lzma-loader: sync with ar71xx target 2018-06-06 22:25:53 +02:00
common-buffalo.mk ath79: add hwver parameter to buffalo-tag 2018-10-07 15:44:19 +02:00
common-netgear.mk ath79: add support for Netgear EX6400 and EX7300 2019-04-09 11:09:26 +02:00
common-tp-link.mk ath79: Utilize tplink-safeloader definition 2019-04-06 19:14:06 +02:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-26 17:28:37 +01:00
generic-tp-link.mk ath79: fix SUPPORTED_DEVICES not matching ar71xx board names 2020-01-28 13:25:30 +01:00
generic-ubnt.mk ath79: fix SUPPORTED_DEVICES not matching ar71xx board names 2020-01-28 13:25:30 +01:00
generic.mk ath79: fix SUPPORTED_DEVICES not matching ar71xx board names 2020-01-28 13:25:30 +01:00
Makefile ath79: add support for Buffalo BHR-4GRV2 2018-08-09 18:44:57 +02:00
nand.mk ath79: disable building future NAND images for GL-AR300M/GL-AR750S 2019-11-07 19:06:57 +01:00
tiny-netgear.mk ath79: remove more duplicate image build variables 2019-04-09 11:09:26 +02:00
tiny-tp-link.mk ath79: fix SUPPORTED_DEVICES not matching ar71xx board names 2020-01-28 13:25:30 +01:00
tiny.mk ath79: modify mtd partitions for Buffalo BHR-4GRV2 2018-11-26 12:28:17 +01:00