Developing lightweight computation at the DSG edge

qmp.profiles.conf 15.1 KB
Newer Older
1
2
3
4
5
6
7
8
9
SUPPORTED_PROFILES="alfa-nx alix bullet cf-wr800n cpe510-520-v1 dir-810l \
dragino2 lamobo-r1 linkit7688 mc-mac1200r microwrt miwifi-mini \
rb-nand-large-ac nslm5-xw nsm2 nsm5 nsm5-xw nslm5-xw pico2 rb921gs-5Hpacd-15s \
rbwapg-5hact2hnd rb-nor-flash-16M-ac rocket-m rocket-m-xw rs rspro soekris45xx \
tl-2543-v1 tl-mr3020-v1 tl-mr3040-v1 tl-wa7510n-v1 tl-wdr3500-v1 tl-wdr3600-v1 \
tl-wdr4300-v1 tl-wdr4310-v1 tl-wdr4900-v1 tl-wr703n-v1 tl-wr740n tl-wr743nd-v1 \
tl-wr841-v10 tl-wr841-v7 tl-wr841-v8 tl-wr841-v9 tl-wr842n-v1 uap-pro \
unifiac-lite unifi-ap vocore-16M vocore-8M wl-wn575a3 wrtnode wt1520-4M \
wt1520-8M wt3020-4M wt3020-8M x86 x86-64 zbt-ape522ii"
10

11
EXTRAPKGS=""
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FACTORY=""
SYSUPGRADE=""
SQUASHIMAGE=""
EXT4IMAGE=""

[ "$TPROFILE" == "alfa-nx" ] && {
  NAME=Alfa-Network_N5
  ARCH=ar71xx
  SUBARCH=generic
  PROFILE=ALFANX
  FLAVOR=qmp_small
  FACTORY=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$TPROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$TPROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == "alix" ] && {
  NAME=PC-Engines_Alix
  ARCH=x86
  SUBARCH=geode
  PROFILE=Generic
  FLAVOR=qmp_big
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
  BINEXT=img.gz
}

[ "$TPROFILE" == x86 ] && {
  NAME=Generic_x86
  ARCH=x86
  SUBARCH=generic
  PROFILE=Generic
  FLAVOR=qmp_big
44
  EXTRAPKGS=kmod-ath9k
45
46
47
48
49
50
51
52
53
54
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
  BINEXT=img.gz
}

[ "$TPROFILE" == x86-64  ] && {
  NAME=Generic_x86-64
  ARCH=x86
  SUBARCH=64
  FLAVOR=qmp_big
55
  EXTRAPKGS=kmod-ath9k
56
57
58
  PROFILE=Generic
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
59
  BINEXT=img
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
}

[ "$TPROFILE" == soekris45xx ] && {
  NAME=Soekris_Net45xx
  ARCH=x86
  SUBARCH=legacy
  PROFILE=Generic
  FLAVOR=qmp_small
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
  BINEXT=img.gz
}

[ "$TPROFILE" == bullet ] && {
  NAME=Ubiquiti_Bullet-M
  ARCH=ar71xx
  SUBARCH=generic
  PROFILE=ubnt-bullet-m
  FLAVOR=qmp_small
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == cf-wr800n ] && {
  NAME=Comfast_CF-WR800N
  ARCH=ramips
  SUBARCH=mt7620
  PROFILE=cf-wr800n
  FLAVOR=qmp_small
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

93
94
[ "$TPROFILE" == cpe510-520-v1 ] && {
  NAME=TP-Link_CPE-510-520-v1
95
96
97
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
98
  PROFILE=cpe510-520-v1
99
100
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
}

[ "$TPROFILE" == nsm2 ] && {
  NAME=Ubiquiti_NanoStation-M2
  ARCH=ar71xx
  SUBARCH=generic
  PROFILE=ubnt-nano-m
  FLAVOR=qmp_small
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == nsm5 ] && {
  NAME=Ubiquiti_NanoStation-M5
  ARCH=ar71xx
  SUBARCH=generic
  PROFILE=ubnt-nano-m
  FLAVOR=qmp_small
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == nsm5-xw ] && {
  NAME=Ubiquiti_NanoStation-M5-XW
  ARCH=ar71xx
  SUBARCH=generic
  PROFILE=ubnt-nano-m-xw
  FLAVOR=qmp_small
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == nslm5-xw ] && {
  NAME=Ubiquiti_NanoStation-Loco-M5-XW
  ARCH=ar71xx
  SUBARCH=generic
  PROFILE=ubnt-loco-m-xw
  FLAVOR=qmp_small
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == lamobo-r1 ] && {
  NAME=Lamobo_R1
  ARCH=sunxi
146
  SUBARCH=generic
147
148
149
150
151
152
153
  PROFILE=sun7i-a20-lamobo-r1
  FLAVOR=qmp_big
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFSSDCARD
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4SDCARD
  BINEXT=img.gz
}

154
155
156
157
158
159
160
161
162
[ "$TPROFILE" == rb921gs-5Hpacd-15s ] && {
  NAME=MikroTik_RB921GS-5HPacD-15S
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large-ac
  FLAVOR=qmp_small
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
[ "$TPROFILE" == rocket-m-xw ] && {
  NAME=Ubiquiti_Rocket-M5-XW
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=ubnt-rocket-m-xw
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == pico2 ] && {
  NAME=Ubiquiti_PicoStation-2
  ARCH=ath25
  SUBARCH=generic
  FLAVOR=qmp_tiny
  PROFILE=ubnt2-pico2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == rocket-m ] && {
  NAME=Ubiquiti_Rocket-M
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=ubnt-rocket-m
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == rs ] && {
  NAME=Ubiquiti_RouterStation
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_big
  PROFILE=ubnt-rs
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == rspro ] && {
  NAME=Ubiquiti_RouterStation-Pro
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_big
  PROFILE=ubnt-rspro
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-2543-v1 ] && {
  NAME=TP-Link_TL-WR2543ND-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=tl-wr2543-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == mc-mac1200r ] && {
  NAME=Mercury_MAC1200R
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=mc-mac1200r
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-wr841-v7 ] && {
  NAME=TP-Link_TL-WR841-v7
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
  PROFILE=tl-wr841-v7
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-wr841-v8 ] && {
  NAME=TP-Link_TL-WR841-v8
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
  PROFILE=tl-wr841-v8
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-wr841-v9 ] && {
  NAME=TP-Link_TL-WR841-v9
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
  PROFILE=tl-wr841-v9
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-wr841-v10 ] && {
  NAME=TP-Link_TL-WR841-v10
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
  PROFILE=tl-wr841-v10
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-wr842n-v1 ] && {
  NAME=TP-Link_TL-WR842N-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=tl-wr842n-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-wr703n-v1 ] && {
  NAME=TP-Link_TL-WR703N-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
  PROFILE=tl-wr703n-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-mr3020-v1 ] && {
  NAME=TP-Link_TL-MR3020-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
  PROFILE=tl-mr3020-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-mr3040-v1 ] && {
  NAME=TP-Link_TL-MR3040-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
  PROFILE=tl-mr3040-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

313
314
[ "$TPROFILE" == tl-wa7510n-v1 ] && {
  NAME=TP-Link_TL-WA7510N-v1
315
316
317
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
318
  PROFILE=tl-wa7510n-v1
319
320
321
322
323
324
325
326
327
328
329
330
331
332
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-wdr3500-v1 ] && {
  NAME=TP-Link_TL-WDR3500-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_big
  PROFILE=tl-wdr3500-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

333
[ "$TPROFILE" == tl-wdr3600-v1 ] && {
334
335
336
337
338
339
340
341
342
  NAME=TP-Link_TL-WDR3600-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_big
  PROFILE=tl-wdr3600-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

343
[ "$TPROFILE" == tl-wdr4300-v1 ] && {
344
345
346
347
348
349
350
351
352
  NAME=TP-Link_TL-WDR4300-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_big
  PROFILE=tl-wdr4300-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

353
354
355
356
357
358
359
360
361
362
[ "$TPROFILE" == tl-wdr4310-v1 ] && {
  NAME=TP-Link_TL-WDR4310-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_big
  PROFILE=tl-wdr4310-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
[ "$TPROFILE" == tl-wdr4900-v1 ] && {
  NAME=TP-Link_TL-WDR4900-v1
  ARCH=mpc85xx
  SUBARCH=generic
  FLAVOR=qmp_big
  PROFILE=tl-wdr4900-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-wr743nd-v1 ] && {
  NAME=TP-Link_TL-WR743ND-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
  PROFILE=tl-wr743nd-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == tl-wr740n ] && {
  NAME=TP-Link_TL-WR740N-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_cli
388
  PROFILE=tl-wr740n-v1
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == dragino2 ] && {
  NAME=Dragino_MS14
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=dragino2
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wpe72-8M ] && {
  NAME=Compex_WPE72-8M
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=WPE72_8M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-factory.img
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-sysupgrade.img
}

[ "$TPROFILE" == unifiac-lite ] && {
  NAME=Ubiquiti_UniFi-AP-AC-Lite
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=ubnt-unifiac-lite
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == unifi-ap ] && {
  NAME=Ubiquiti_UniFi-AP
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=ubnt-unifi
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == uap-pro ] && {
  NAME=Ubiquiti_UniFi-AP-PRO
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmp_small
  PROFILE=ubnt-uap-pro
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == vocore-8M ] && {
  NAME=Vonger_VoCore-8M
  ARCH=ramips
  SUBARCH=rt305x
  FLAVOR=qmp_small
  PROFILE=vocore-8M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == vocore-16M ] && {
  NAME=Vonger_VoCore-16M
  ARCH=ramips
  SUBARCH=rt305x
  FLAVOR=qmp_small
  PROFILE=vocore-16M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == microwrt ] && {
  NAME=Microduino_MicroWRT
  ARCH=ramips
  SUBARCH=mt7620
  FLAVOR=qmp_small
  PROFILE=microwrt
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wl-wn575a3 ] && {
  NAME=Wavlink_WL-WN575A3
  ARCH=ramips
474
  SUBARCH=mt7628
475
476
477
478
479
480
481
482
  FLAVOR=qmp_small
  PROFILE=wl-wn575a3
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == linkit7688 ] && {
  NAME=LinkIt_Smart-7688
  ARCH=ramips
483
  SUBARCH=mt7688
484
485
486
487
488
489
490
491
492
  FLAVOR=qmp_small
  PROFILE=LinkIt7688
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wt1520-4M ] && {
  NAME=Nexx_WT1520-4M
  ARCH=ramips
  SUBARCH=rt305x
493
  FLAVOR=qmp_cli
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
  PROFILE=wt1520-4M
  FACTORY=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wt1520-8M ] && {
  NAME=Nexx_WT1520-8M
  ARCH=ramips
  SUBARCH=rt305x
  FLAVOR=qmp_small
  PROFILE=rt5350-qmp-small-node
  PROFILE=wt1520-8M
  FACTORY=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == dir-810l ] && {
  NAME=D-Link_DIR-810L
  ARCH=ramips
  SUBARCH=mt7620
  FLAVOR=qmp_small
  PROFILE=dir-810l
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == miwifi-mini ] && {
  NAME=Xiaomi_MiWiFi-Mini
  ARCH=ramips
  SUBARCH=mt7620
  FLAVOR=qmp_small
  PROFILE=miwifi-mini
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wrtnode ] && {
  NAME=WRTnode_WRTnode
  ARCH=ramips
  SUBARCH=mt7620
  FLAVOR=qmp_small
  PROFILE=wrtnode
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wt3020-4M ] && {
  NAME=Nexx_WT3020-4M
  ARCH=ramips
  SUBARCH=mt7620
544
  FLAVOR=qmp_cli
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
  PROFILE=wt3020-4M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wt3020-8M ] && {
  NAME=Nexx_WT3020-8M
  ARCH=ramips
  SUBARCH=mt7620
  FLAVOR=qmp_small
  PROFILE=wt3020-8M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == zbt-ape522ii ] && {
  NAME=ZBT_APE522II
  ARCH=ramips
  SUBARCH=mt7620
  FLAVOR=qmp_small
  PROFILE=zbt-ape522ii
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}