forked from Ivasoft/openwrt
ramips: mt7621: harmonize naming scheme for Mikrotik
So far, image/device/board names for Mikrotik devices in mt7621 have been used quite inconsistently. This patch harmonizes the naming scheme by applying the same style as used lately in ath79, i.e. using "RouterBOARD" as separate word in the model name (instead of RB prefix for the number) and deriving the board/device name from that (= make lower case and replace spaces by hyphens). This style has already been used for most the model/DEVICE_MODEL variables in mt7621, so this is essentially just adjusting the remaining variables to that. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
@@ -27,9 +27,9 @@ platform_do_upgrade() {
|
||||
fi
|
||||
}
|
||||
;;
|
||||
mikrotik,rb750gr3|\
|
||||
mikrotik,rbm11g|\
|
||||
mikrotik,rbm33g)
|
||||
mikrotik,routerboard-750gr3|\
|
||||
mikrotik,routerboard-m11g|\
|
||||
mikrotik,routerboard-m33g)
|
||||
[ -z "$(rootfs_type)" ] && mtd erase firmware
|
||||
;;
|
||||
asus,rt-ac65p|\
|
||||
|
||||
Reference in New Issue
Block a user