Developing lightweight computation at the DSG edge

qmp.profiles.conf 23.5 KB
Newer Older
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
1
2
3
SUPPORTED_PROFILES="comfast_cf-e120a-v3
comfast_cf-e313ac comfast_cf-e313ac_ath10k-qca9888 \
comfast_cf-wr800n \
4
dlink_dir-810l \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
5
lamobo_lamobo-r1 \
6
7
mediatek_linkit-smart-7688 \
microduino_microwrt \
8
mikrotik_routerboard-921gs-5hpacd-15s mikrotik_routerboard-921gs-5hpacd-15s_ath10k-qca988x \
9
mikrotik_routerboard-sxt-5n \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
10
mikrotik_routerboard-wap-g-5hact2hnd mikrotik_routerboard-wap-g-5hact2hnd_ath10k-qca988x \
11
mikrotik_sxtsq-5-ac mikrotik_sxtsq-5-ac_ath10k-qca40109 \
12
13
14
nexx_wt1520-8M nexx_wt3020-8M \
pc-engines_alix \
phicomm_k2p \
15
rpi rpi-2 rpi-3 rpi-4 \
16
soekris_45xx \
17
18
tplink_cpe510-v1 tplink_cpe510-v2 tplink_cpe510-v3 \
tplink_cpe610-v1 tplink_cpe610-v2 \
19
tplink_tl-wr2543-v1 tplink_tl-wdr3500-v1 tplink_tl-wdr3600-v1 \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
20
tplink_tl-wdr4300-v1 tplink_tl-wdr4310-v1 tplink_tl-wdr4900-v1 \
21
tplink_tl-wr842n-v1 tplink_tl-wr842n-v2 tplink_tl-wr842n-v \
22
23
ubnt_bullet-m-ar7240 ubnt_bullet-m-ar7241 ubnt_bullet-m-xw \
ubnt_edgeswitch-5xp ubnt_edgeswitch-8xp \
24
ubnt_edgerouter-x ubnt_edgerouter-x-sfp \
25
26
ubnt_lap-120 ubnt_lap-120_ath10k-qca988x \
ubnt_litebeam-ac-gen2 ubnt_litebeam-ac-gen2_ath10k-qca988x ubnt_nanobridge-m \
27
28
ubnt_nanostation-ac ubnt_nanostation-ac_ath10k-qca988x \
ubnt_nanostation-ac-loco ubnt_nanostation-ac-loco_ath10k-qca988x \
29
ubnt_nanostation-loco-m ubnt_nanostation-loco-m-xw \
30
ubnt_nanostation-m ubnt_nanostation-m-xw \
31
ubnt_powerbeam-5ac-500 ubnt_powerbeam-5ac-500_ath10k-qca988x \
32
ubnt_powerbeam-5ac-gen2 ubnt_powerbeam-5ac-gen2_ath10k-qca988x \
33
ubnt_routerstation ubnt_routerstation-pro \
34
ubnt_unifiac-lite ubnt_unifiac-mesh ubnt_unifiac-mesh_ath10k-qca988x \
35
ubnt2-pico2 \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
36
vocore_vocore-16m vocore_vocore-8m \
37
38
39
wavlink_wl-wn575a3 \
wrtnode_wrtnode \
x86_32-generic x86_64-generic \
40
xiaomi_mir3g-v2 xiaomi_miwifi-mini \
41
youhua_wr1200js \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
42
zbtlink_zbt-ape522ii"
43

44
EXTRAPKGS=""
45

46
47
48
49
50
FACTORY=""
SYSUPGRADE=""
SQUASHIMAGE=""
EXT4IMAGE=""

51
[ "$TPROFILE" == comfast_cf-e120a-v3 ] && {
52
53
54
55
56
57
58
59
  NAME=Comfast_CF-E120A-v3
  ARCH=ath79
  SUBARCH=generic
  PROFILE=comfast_cf-e120a-v3
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

60
61
62
63
64
65
[ "$TPROFILE" == comfast_cf-e313ac ] && {
  NAME=Comfast_CF-E313AC_AdHoc
  ARCH=ath79
  SUBARCH=generic
  PROFILE=comfast_cf-e313ac
  FLAVOR=qmpsmall
66
  EXTRAPKGS="-kmod-ath9k -kmod-ath9h-common"
67
68
69
70
71
72
73
74
75
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == comfast_cf-e313ac_ath10k-qca9888 ] && {
  NAME=Comfast_CF-E313AC_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=comfast_cf-e313ac
  FLAVOR=qmpsmallath10kqca988880211s
76
  EXTRAPKGS="-kmod-ath9k -kmod-ath9h-common"
77
78
79
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

80
[ "$TPROFILE" == comfast_cf-wr800n ] && {
81
82
83
  NAME=Comfast_CF-WR800N
  ARCH=ramips
  SUBARCH=mt7620
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
84
  PROFILE=comfast_cf-wr800n
85
  FLAVOR=qmpsmall
86
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
87
88
}

89
90
91
92
[ "$TPROFILE" == dlink_dir-810l ] && {
  NAME=D-Link_DIR-810L
  ARCH=ramips
  SUBARCH=mt7620
93
  FLAVOR=qmpsmall
94
95
  PROFILE=dlink_dir-810l
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
96
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
97
}
98

99
100
101
102
[ "$TPROFILE" == mediatek_linkit-smart-7688 ] && {
  NAME=MediaTek_LinkIt-Smart-7688
  ARCH=ramips
  SUBARCH=mt76x8
103
  FLAVOR=qmpsmall
104
  PROFILE=mediatek_linkit-smart-7688
105
106
107
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

108

109

110
111
112
113
[ "$TPROFILE" == microduino_microwrt ] && {
  NAME=Microduino_MicroWRT
  ARCH=ramips
  SUBARCH=mt7620
114
  FLAVOR=qmpsmall
115
116
  PROFILE=microduino_microwrt
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
117
118
119
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

120
121
122
123
[ "$TPROFILE" == nexx_wt1520-8M ] && {
  NAME=Nexx_WT1520-8M
  ARCH=ramips
  SUBARCH=rt305x
124
  FLAVOR=qmpsmall
125
126
127
  PROFILE=nexx_wt1520-8m
  FACTORY=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
128
129
}

130
131
132
133
[ "$TPROFILE" == nexx_wt3020-8M ] && {
  NAME=Nexx_WT3020-8M
  ARCH=ramips
  SUBARCH=mt7620
134
  FLAVOR=qmpsmall
135
  PROFILE=nexx_wt3020-8m
136
137
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
138
139
}

140
141
142
143
[ "$TPROFILE" == "pc-engines_alix" ] && {
  NAME=PC-Engines_Alix
  ARCH=x86
  SUBARCH=geode
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
144
  PROFILE=generic
145
  FLAVOR=qmpbig
146
147
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
148
149
150
  BINEXT=img.gz
}

151
[ "$TPROFILE" == phicomm_k2p ] && {
152
153
154
155
156
157
158
159
160
  NAME=Phicomm_K2P
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
  PROFILE=phicomm_k2p
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[ "$TPROFILE" == rpi ] && {
  NAME=Raspberry-Pi_B_Bplus_CM_Zero_ZeroW
  ARCH=bcm27xx
  SUBARCH=bcm2708
  FLAVOR=qmpbig
  PROFILE=rpi
}

[ "$TPROFILE" == rpi-2 ] && {
  NAME=Raspberry-Pi_2B
  ARCH=bcm27xx
  SUBARCH=bcm2709
  FLAVOR=qmpbig
  PROFILE=rpi-2
}

[ "$TPROFILE" == rpi-3 ] && {
  NAME=Raspberry-Pi_3B_3Bplus_3CM
  ARCH=bcm27xx
  SUBARCH=bcm2710
  FLAVOR=qmpbig
  PROFILE=rpi-3
}

[ "$TPROFILE" == rpi-4 ] && {
  NAME=Raspberry-Pi_4B
  ARCH=bcm27xx
  SUBARCH=bcm2711
  FLAVOR=qmpbig
  PROFILE=rpi-4
}

193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
[ "$TPROFILE" == mikrotik_routerboard-921gs-5hpacd-15s ] && {
  NAME=MikroTik_RouterBOARD_921GS-5HPacD-15s-mANTBox-15s_AdHoc
  ARCH=ath79
  SUBARCH=mikrotik
  PROFILE=mikrotik_routerboard-921gs-5hpacd-15s
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == mikrotik_routerboard-921gs-5hpacd-15s_ath10k-qca988x ] && {
  NAME=MikroTik_RouterBOARD_921GS-5HPacD-15s-mANTBox-15s_80211s
  ARCH=ath79
  SUBARCH=mikrotik
  PROFILE=mikrotik_routerboard-921gs-5hpacd-15s
  FLAVOR=qmpsmallath10kqca988x80211s
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

211
212
213
214
215
216
217
218
[ "$TPROFILE" == mikrotik_routerboard-sxt-5n ] && {
  NAME=MikroTik_RouterBOARD-SXT-5nD-r2-SXT-Lite5
  ARCH=ath79
  SUBARCH=mikrotik
  PROFILE=mikrotik_routerboard-sxt-5nd-r2
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
219

220
221
222
[ "$TPROFILE" == mikrotik_routerboard-wap-g-5hact2hnd ] && {
  NAME=MikroTik_RouterBOARD-wAP-G-5HacT2HnD-wAP-AC_AdHoc
  ARCH=ath79
223
  SUBARCH=mikrotik
224
  PROFILE=mikrotik_routerboard-wap-g-5hact2hnd
225
  FLAVOR=qmpsmall
226
227
228
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

229
230
231
232
233
234
235
236
237
[ "$TPROFILE" == mikrotik_routerboard-wap-g-5hact2hnd_ath10k-qca988x ] && {
  NAME=MikroTik_RouterBOARD-wAP-G-5HacT2HnD-wAP-AC_80211s
  ARCH=ath79
  SUBARCH=mikrotik
  PROFILE=mikrotik_routerboard-wap-g-5hact2hnd
  FLAVOR=qmpsmallath10kqca988x80211s
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
[ "$TPROFILE" == mikrotik_sxtsq-5-ac ] && {
  NAME=MikroTik_RouterBOARD-SXTsqG-5acD-SXTsq-5-ac_AdHoc
  ARCH=ipq40xx
  SUBARCH=mikrotik
  PROFILE=mikrotik_sxtsq-5-ac
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == mikrotik_sxtsq-5-ac_ath10k-qca40109 ] && {
  NAME=MikroTik_RouterBOARD-SXTsqG-5acD-SXTsq-5-ac_80211s
  ARCH=ipq40xx
  SUBARCH=mikrotik
  PROFILE=mikrotik_sxtsq-5-ac
  FLAVOR=qmpsmallath10kqca401980211s
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
255

256
257
258
259
[ "$TPROFILE" == soekris_45xx ] && {
  NAME=Soekris_Net45xx
  ARCH=x86
  SUBARCH=legacy
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
260
  PROFILE=generic
261
262
263
264
265
266
267
268
269
  FLAVOR=qmpsmall
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
  BINEXT=img.gz
}

[ "$TPROFILE" == tplink_cpe510-v1 ] && {
  NAME=TP-Link_CPE-510-v1
  ARCH=ath79
270
  SUBARCH=generic
271
  FLAVOR=qmpsmall
272
  PROFILE=tplink_cpe510-v1
273
274
275
276
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

277
278
279
[ "$TPROFILE" == tplink_cpe510-v2 ] && {
  NAME=TP-Link_CPE-510-v2
  ARCH=ath79
280
  SUBARCH=generic
281
  FLAVOR=qmpsmall
282
283
284
  PROFILE=tplink_cpe510-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
285
286
}

287
288
289
[ "$TPROFILE" == tplink_cpe510-v3 ] && {
  NAME=TP-Link_CPE-510-v3
  ARCH=ath79
290
  SUBARCH=generic
291
  FLAVOR=qmpsmall
292
  PROFILE=tplink_cpe510-v3
293
294
295
296
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

297
298
299
[ "$TPROFILE" == tplink_cpe610-v1 ] && {
  NAME=TP-Link_CPE-610-v1
  ARCH=ath79
300
  SUBARCH=generic
301
  FLAVOR=qmpsmall
302
303
304
305
306
  PROFILE=tplink_cpe610-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

307
308
309
310
[ "$TPROFILE" == tplink_cpe610-v2 ] && {
  NAME=TP-Link_CPE-610-v2
  ARCH=ath79
  SUBARCH=generic
311
  FLAVOR=qmpsmall
312
313
314
315
316
  PROFILE=tplink_cpe610-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
317
[ "$TPROFILE" == lamobo_lamobo-r1 ] && {
318
319
320
  NAME=Lamobo_BananaPi_R1
  ARCH=sunxi
  SUBARCH=cortexa7
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
321
  PROFILE=lamobo_lamobo-r1
322
  FLAVOR=qmpbig
323
324
325
326
327
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFSSDCARD
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4SDCARD
  BINEXT=img.gz
}

328
[ "$TPROFILE" == ubnt_edgerouter-x ] && {
329
330
331
332
  NAME=Ubiquiti_EdgeRouter_X
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
333
  PROFILE=ubnt_edgerouter-x
334
335
336
337
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

338
[ "$TPROFILE" == ubnt_edgerouter-x-sfp ] && {
339
340
341
342
  NAME=Ubiquiti_EdgeRouter_X-SFP
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
343
  PROFILE=ubnt_edgerouter-x-sfp
344
345
346
347
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

348
349
[ "$TPROFILE" == ubnt_bullet-m-ar7240 ] && {
  NAME=Ubiquiti_Bullet-M_XM_AR7240
350
351
  ARCH=ath79
  SUBARCH=generic
352
  PROFILE=ubnt_bullet-m-ar7240
353
  FLAVOR=qmptiny
354
355
356
357
358
359
360
361
362
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_bullet-m-ar7241 ] && {
  NAME=Ubiquiti_Bullet-M_XM_AR7241
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_bullet-m-ar7241
363
  FLAVOR=qmptiny
364
365
366
367
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

368
369
370
[ "$TPROFILE" == ubnt_bullet-m-xw ] && {
  NAME=Ubiquiti_Bullet-M_XW
  ARCH=ath79
371
  SUBARCH=generic
372
  PROFILE=ubnt_bullet-m-xw
373
  FLAVOR=qmptiny
374
375
376
377
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
[ "$TPROFILE" == ubnt_edgeswitch-5xp ] && {
  NAME=Ubiquiti_EdgeSwitch_5XP
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_edgeswitch-5xp
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_edgeswitch-8xp ] && {
  NAME=Ubiquiti_EdgeSwitch_8XP
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_edgeswitch-8xp
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

398
[ "$TPROFILE" == ubnt_lap-120 ] && {
399
  NAME=Ubiquiti_LiteAP-AC-120_AdHoc
400
  ARCH=ath79
401
  SUBARCH=generic
402
  PROFILE=ubnt_lap-120
403
  FLAVOR=qmpsmall
404
405
406
407
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

408
409
410
411
412
[ "$TPROFILE" == ubnt_lap-120_ath10k-qca988x ] && {
  NAME=Ubiquiti_LiteAP-AC-120_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_lap-120
413
  FLAVOR=qmpsmallath10kqca988x80211s
414
415
416
417
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
[ "$TPROFILE" == ubnt_litebeam-ac-gen2 ] && {
  NAME=Ubiquiti_LiteBeam-AC-Gen2_AdHoc
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_litebeam-ac-gen2
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_litebeam-ac-gen2_ath10k-qca988x ] && {
  NAME=Ubiquiti_LiteBeam-AC-Gen2_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_litebeam-ac-gen2
  FLAVOR=qmpsmallath10kqca988x80211s
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

438
439
440
441
442
443
444
445
446
447
[ "$TPROFILE" == ubnt_nanobridge-m ] && {
  NAME=Ubiquiti_NanoBridge-M_XM
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_nanobridge-m
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

448
[ "$TPROFILE" == ubnt_nanostation-ac ] && {
449
  NAME=Ubiquiti_NanoStation-AC_AdHoc
450
  ARCH=ath79
451
  SUBARCH=generic
452
  PROFILE=ubnt_nanostation-ac
453
  FLAVOR=qmpsmall
454
455
456
457
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

458
459
460
461
462
[ "$TPROFILE" == ubnt_nanostation-ac_ath10k-qca988x ] && {
  NAME=Ubiquiti_NanoStation-AC_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_nanostation-ac
463
  FLAVOR=qmpsmallath10kqca988x80211s
464
465
466
467
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

468
[ "$TPROFILE" == ubnt_nanostation-ac-loco ] && {
469
  NAME=Ubiquiti_NanoStation-AC-Loco_AdHoc
470
  ARCH=ath79
471
  SUBARCH=generic
472
  PROFILE=ubnt_nanostation-ac-loco
473
  FLAVOR=qmpsmall
474
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
475
476
477
478
479
480
481
482
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_nanostation-ac-loco_ath10k-qca988x ] && {
  NAME=Ubiquiti_NanoStation-AC-Loco_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_nanostation-ac-loco
483
  FLAVOR=qmpsmallath10kqca988x80211s
484
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
485
486
487
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

488
489
[ "$TPROFILE" == ubnt_nanostation-loco-m ] && {
  NAME=Ubiquiti_NanoStation-Loco-M-XM
490
491
  ARCH=ath79
  SUBARCH=generic
492
  PROFILE=ubnt_nanostation-loco-m
493
  FLAVOR=qmptiny
494
495
496
497
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

498
499
[ "$TPROFILE" == ubnt_nanostation-loco-m-xw ] && {
  NAME=Ubiquiti_NanoStation-Loco-M-XW
500
  ARCH=ath79
501
  SUBARCH=generic
502
  PROFILE=ubnt_nanostation-loco-m-xw
503
  FLAVOR=qmpsmall
504
505
506
507
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

508
509
[ "$TPROFILE" == ubnt_nanostation-m ] && {
  NAME=Ubiquiti_NanoStation-M-XM
510
511
  ARCH=ath79
  SUBARCH=generic
512
  PROFILE=ubnt_nanostation-m
513
  FLAVOR=qmptiny
514
515
516
517
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

518
519
[ "$TPROFILE" == ubnt_nanostation-m-xw ] && {
  NAME=Ubiquiti_NanoStation-M-XW
520
521
  ARCH=ath79
  SUBARCH=generic
522
  PROFILE=ubnt_nanostation-m-xw
523
  FLAVOR=qmpsmall
524
525
526
527
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
[ "$TPROFILE" == ubnt_powerbeam-5ac-500 ] && {
  NAME=Ubiquiti_PowerBeam-5AC-500_AdHoc
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_powerbeam-5ac-500
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_powerbeam-5ac-500_ath10k-qca988x ] && {
  NAME=Ubiquiti_PowerBeam-5AC-500_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_powerbeam-5ac-500
  FLAVOR=qmpsmallath10kqca988x80211s
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

548
549
550
551
552
553
554
555
556
[ "$TPROFILE" == ubnt_powerbeam-5ac-gen2 ] && {
  NAME=Ubiquiti_PowerBeam-5AC-Gen2_AdHoc
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_powerbeam-5ac-gen2
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
557

558
559
560
561
562
563
564
565
566
[ "$TPROFILE" == ubnt_powerbeam-5ac-gen2_ath10k-qca988x ] && {
  NAME=Ubiquiti_PowerBeam-5AC-Gen2_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_powerbeam-5ac-gen2
  FLAVOR=qmpsmallath10kqca988x80211s
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
567
568
569
570
571

[ "$TPROFILE" == ubnt_rocket-m ] && {
  NAME=Ubiquiti_Rocket-M_XM
  ARCH=ath79
  SUBARCH=generic
572
  FLAVOR=qmptiny
573
574
575
576
577
578
579
580
581
  PROFILE=ubnt_rocket-m
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_routerstation ] && {
  NAME=Ubiquiti_RouterStation
  ARCH=ath79
  SUBARCH=generic
582
  FLAVOR=qmpbig
583
  PROFILE=ubnt_routerstation
584
585
586
587
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

588
589
[ "$TPROFILE" == ubnt_routerstation-pro ] && {
  NAME=Ubiquiti_RouterStation-Pro
590
  ARCH=ath79
591
  SUBARCH=generic
592
  FLAVOR=qmpbig
593
  PROFILE=ubnt_routerstation-pro
594
595
596
597
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

598
599
600
601
602
603
604
605
606
607
[ "$TPROFILE" == ubnt_unifiac-lite ] && {
  NAME=Ubiquiti_UniFi-AP-AC-Lite
  ARCH=ath79
  SUBARCH=generic
  FLAVOR=qmpsmall
  PROFILE=ubnt_unifiac-lite
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_unifiac-mesh ] && {
608
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_AdHoc
609
610
611
612
613
614
615
  ARCH=ath79
  SUBARCH=generic
  FLAVOR=qmpsmall
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

616
617
618
619
[ "$TPROFILE" == ubnt_unifiac-mesh_ath10k-qca988x ] && {
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_80211s
  ARCH=ath79
  SUBARCH=generic
620
  FLAVOR=qmpsmallath10kqca988x80211s
621
622
623
624
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

625
626
627
628
629
630
631
632
633
634
635
636
637
638
[ "$TPROFILE" == ubnt2-pico2 ] && {
  NAME=Ubiquiti_PicoStation-2
  ARCH=ath25
  SUBARCH=generic
  FLAVOR=qmptiny
  PROFILE=ubnt2-pico2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tplink_tl-wr2543-v1 ] && {
  NAME=TP-Link_TL-WR2543ND-v1
  ARCH=ath79
  SUBARCH=generic
639
  FLAVOR=qmpsmall
640
641
  PROFILE=tplink_tl-wr2543-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
642
643
644
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

645
646
647
[ "$TPROFILE" == tplink_tl-wdr3500-v1 ] && {
  NAME=TP-Link_TL-WDR3500-v1
  ARCH=ath79
648
  SUBARCH=generic
649
  FLAVOR=qmpsmall
650
651
  PROFILE=tplink_tl-wdr3500-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
652
653
654
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

655
656
657
[ "$TPROFILE" == tplink_tl-wdr3600-v1 ] && {
  NAME=TP-Link_TL-WDR3600-v1
  ARCH=ath79
658
  SUBARCH=generic
659
  FLAVOR=qmpsmall
660
  PROFILE=tplink_tl-wdr3600-v1
661
662
663
664
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

665
666
667
668
[ "$TPROFILE" == tplink_tl-wdr4300-v1 ] && {
  NAME=TP-Link_TL-WDR4300-v1
  ARCH=ath79
  SUBARCH=generic
669
  FLAVOR=qmpsmall
670
671
  PROFILE=tplink_tl-wdr4300-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
672
673
674
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

675
676
[ "$TPROFILE" == tplink_tl-wdr4310-v1 ] && {
  NAME=TP-Link_TL-WDR4310-v1
677
  ARCH=ath79
678
679
  SUBARCH=generic
  FLAVOR=qmpbig
680
  PROFILE=tplink_tl-wdr4310-v1
681
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
682
683
684
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

685
686
687
[ "$TPROFILE" == tplink_tl-wdr4900-v1 ] && {
  NAME=TP-Link_TL-WDR4900-v1
  ARCH=mpc85xx
688
  SUBARCH=p1010
689
  FLAVOR=qmpbig
690
  PROFILE=tplink_tl-wdr4900-v1
691
692
693
694
695
696
697
698
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tplink_tl-wr842n-v1 ] && {
  NAME=TP-Link_TL-WR842N-v1
  ARCH=ath79
  SUBARCH=generic
699
  FLAVOR=qmpsmall
700
701
  PROFILE=tplink_tl-wr842n-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
702
703
704
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

705
706
707
708
[ "$TPROFILE" == tplink_tl-wr842n-v2 ] && {
  NAME=TP-Link_TL-WR842N-v2
  ARCH=ath79
  SUBARCH=generic
709
  FLAVOR=qmpsmall
710
711
  PROFILE=tplink_tl-wr842n-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
712
713
714
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

715
716
717
718
[ "$TPROFILE" == tplink_tl-wr842n-v3 ] && {
  NAME=TP-Link_TL-WR842N-v3
  ARCH=ath79
  SUBARCH=generic
719
  FLAVOR=qmpsmall
720
721
  PROFILE=tplink_tl-wr842n-v3
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
722
723
724
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
725
[ "$TPROFILE" == vocore_vocore-16m ] && {
726
  NAME=Vonger_VoCore-16M
727
728
  ARCH=ramips
  SUBARCH=rt305x
729
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
730
  PROFILE=vocore_vocore-16m
731
732
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
733
734
}

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
735
[ "$TPROFILE" == vocore_vocore-8m ] && {
736
  NAME=Vonger_VoCore-8M
737
  ARCH=ramips
738
  SUBARCH=rt305x
739
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
740
  PROFILE=vocore_vocore-8m
741
742
743
744
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

745
746
[ "$TPROFILE" == wavlink_wl-wn575a3 ] && {
  NAME=Wavlink_WL-WN575A3
747
  ARCH=ramips
748
  SUBARCH=mt76x8
749
  FLAVOR=qmpsmall
750
  PROFILE=wavlink_wl-wn575a3
751
752
753
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

754
[ "$TPROFILE" == wrtnode_wrtnode ] && {
755
756
757
  NAME=WRTnode_WRTnode
  ARCH=ramips
  SUBARCH=mt7620
758
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
759
  PROFILE=wrtnode_wrtnode
760
761
762
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
763

764
[ "$TPROFILE" == x86_32-generic ] && {
765
  NAME=Generic_x86-32
766
767
  ARCH=x86
  SUBARCH=generic
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
768
  PROFILE=generic
769
770
  FLAVOR=qmpbig
  EXTRAPKGS="kmod-ath9k kmod-e1000e"
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
771
772
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHCOMBINEDIMGGZ
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4COMBINEDIMGGZ
773
774
  BINEXT=img.gz
}
775

776
777
778
779
780
[ "$TPROFILE" == x86_64-generic  ] && {
  NAME=Generic_x86-64
  ARCH=x86
  SUBARCH=64
  FLAVOR=qmpbig
781
  EXTRAPKGS="kmod-ath9k kmod-at10k-ct kmod-iwlwifi"
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
782
  PROFILE=generic
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
783
784
785
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHCOMBINEDIMGGZ
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4COMBINEDIMGGZ
  BINEXT=img.gz
786
787
}

788
789
790
791
792
793
794
795
796
797
[ "$TPROFILE" == xiaomi_mir3g-v2 ] && {
  NAME=Xiaomi_Mi_Router_4A_Gigabit_Edition
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
  PROFILE=xiaomi_mir3g-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

798
799
[ "$TPROFILE" == xiaomi_miwifi-mini ] && {
  NAME=Xiaomi_MiWiFi-Mini
800
801
  ARCH=ramips
  SUBARCH=mt7620
802
  FLAVOR=qmpsmall
803
804
  PROFILE=xiaomi_miwifi-mini
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
805
806
807
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

808
[ "$TPROFILE" == youhua_wr1200js ] && {
809
810
811
812
813
814
815
816
817
  NAME=YouHua_WR1200JS
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
  PROFILE=youhua_wr1200js
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

818
[ "$TPROFILE" == zbtlink_zbt-ape522ii ] && {
819
820
821
  NAME=ZBT_APE522II
  ARCH=ramips
  SUBARCH=mt7620
822
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
823
  PROFILE=zbtlink_zbt-ape522ii
824
825
826
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}