summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-11-21 08:46:48 +0100
committerMathias Kresin <dev@kresin.me>2016-12-24 10:03:38 +0100
commit0cf581ca3a2a692938003a7038d93f2e24d9125a (patch)
tree94bdee9217bcdd040ba563afef1851f2a68bba95 /target/linux/ramips/base-files
parenta75ce960ac1b9d67af280e17e1e653b3b39def20 (diff)
downloadmtk-20170518-0cf581ca3a2a692938003a7038d93f2e24d9125a.zip
mtk-20170518-0cf581ca3a2a692938003a7038d93f2e24d9125a.tar.gz
mtk-20170518-0cf581ca3a2a692938003a7038d93f2e24d9125a.tar.bz2
ramips: use new image build code for more devices
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh42
1 files changed, 30 insertions, 12 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 6b14d19..9b82b2a 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -40,8 +40,11 @@ ramips_board_detect() {
*"ALL0239-3G")
name="all0239-3g"
;;
- *"ALL0256N")
- name="all0256n"
+ *"ALL0256N (4M)")
+ name="all0256n-4M"
+ ;;
+ *"ALL0256N (8M)")
+ name="all0256n-8M"
;;
*"ALL5002")
name="all5002"
@@ -67,8 +70,11 @@ ramips_board_detect() {
*"AWAPN2403")
name="awapn2403"
;;
- *"AWM002 EVB")
- name="awm002-evb"
+ *"AWM002 EVB (4M)")
+ name="awm002-evb-4M"
+ ;;
+ *"AWM002 EVB (8M)")
+ name="awm002-evb-8M"
;;
*"AWM003 EVB")
name="awm003-evb"
@@ -244,8 +250,11 @@ ramips_board_detect() {
*"M3")
name="m3"
;;
- *"M4")
- name="m4"
+ *"M4 (4M)")
+ name="m4-4M"
+ ;;
+ *"M4 (8M)")
+ name="m4-8M"
;;
*"MediaTek LinkIt Smart 7688")
linkit="$(dd bs=1 skip=1024 count=12 if=/dev/mtd2 2> /dev/null)"
@@ -376,8 +385,11 @@ ramips_board_detect() {
*"PWH2004")
name="pwh2004"
;;
- *"PX-4885")
- name="px-4885"
+ *"PX-4885 (4M)")
+ name="px-4885-4M"
+ ;;
+ *"PX-4885 (8M)")
+ name="px-4885-8M"
;;
*"Q7")
name="zte-q7"
@@ -538,8 +550,11 @@ ramips_board_detect() {
*"WNDR3700v5")
name="wndr3700v5"
;;
- *"WR512-3GN-like"*)
- name="wr512-3gn"
+ *"WR512-3GN (4M)")
+ name="wr512-3gn-4M"
+ ;;
+ *"WR512-3GN (8M)")
+ name="wr512-3gn-8M"
;;
*"WR6202")
name="wr6202"
@@ -562,8 +577,11 @@ ramips_board_detect() {
*"WSR-600DHP")
name="wsr-600"
;;
- *"WT1520")
- name="wt1520"
+ *"WT1520 (4M)")
+ name="wt1520-4M"
+ ;;
+ *"WT1520 (8M)")
+ name="wt1520-8M"
;;
*"WT3020 (4M)")
name="wt3020-4M"