Developing lightweight computation at the DSG edge

qmp.profiles.conf 15.3 KB
Newer Older
1
SUPPORTED_PROFILES="alix bullet cf-e120a-v3 cf-wr800n cpe510-520-v1 dir-810l \
2
dragino2 lap-120 lamobo-r1 linkit7688 mc-mac1200r microwrt miwifi-mini phicomm-k2p \
3
rb-nand-64m rb-nand-large rb-nand-large-ac nanostation-ac nanostation-ac-loco \
4
nslm5-xw nsm2 nsm5 nsm5-xw pico2 rb921gs-5Hpacd-15s \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
5
6
rbwapg-5hact2hnd rb-nor-flash-16M-ac rocket-m rb-sxt5n \
rocket-m-xw rs rspro soekris45xx \
7
8
tl-2543-v1 tl-wdr3500-v1 tl-wdr3600-v1 \
tl-wdr4300-v1 tl-wdr4310-v1 tl-wdr4900-v1 \
9
tl-wr842n-v1 uap-pro ubiquiti-edgerouterx ubiquiti-edgerouterx-sfp\
10
unifiac-lite unifi-ap vocore-16M vocore-8M wl-wn575a3 wrtnode \
11
wt1520-8M wt3020-8M x86 x86-64 youhua-wr1200js zbt-ape522ii"
12

13
EXTRAPKGS=""
14
15
16
17
18
19
20
21
22
23
FACTORY=""
SYSUPGRADE=""
SQUASHIMAGE=""
EXT4IMAGE=""

[ "$TPROFILE" == "alix" ] && {
  NAME=PC-Engines_Alix
  ARCH=x86
  SUBARCH=geode
  PROFILE=Generic
24
  FLAVOR=qmpbig
25
26
27
28
29
30
31
32
33
34
  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
35
  FLAVOR=qmpbig
36
  EXTRAPKGS="kmod-ath9k kmod-e1000e"
37
38
39
40
41
42
43
44
45
  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
46
  FLAVOR=qmpbig
47
  EXTRAPKGS=kmod-ath9k
48
49
50
  PROFILE=Generic
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
51
  BINEXT=img
52
53
54
55
56
57
58
}

[ "$TPROFILE" == soekris45xx ] && {
  NAME=Soekris_Net45xx
  ARCH=x86
  SUBARCH=legacy
  PROFILE=Generic
59
  FLAVOR=qmpsmall
60
61
62
63
64
65
66
67
68
69
  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
70
  FLAVOR=qmpsmall
71
72
73
74
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

75
76
77
78
79
80
81
82
83
84
[ "$TPROFILE" == cf-e120a-v3 ] && {
  NAME=Comfast_CF-E120A-v3
  ARCH=ath79
  SUBARCH=generic
  PROFILE=comfast_cf-e120a-v3
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

85
86
87
88
[ "$TPROFILE" == cf-wr800n ] && {
  NAME=Comfast_CF-WR800N
  ARCH=ramips
  SUBARCH=mt7620
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
89
  PROFILE=comfast_cf-wr800n
90
  FLAVOR=qmpsmall
91
92
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
93
94
}

95
96
[ "$TPROFILE" == cpe510-520-v1 ] && {
  NAME=TP-Link_CPE-510-520-v1
97
98
  ARCH=ar71xx
  SUBARCH=generic
99
  FLAVOR=qmpsmall
100
  PROFILE=cpe510-520-v1
101
102
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
103
}
104
105
106
107
108
109

[ "$TPROFILE" == lap-120 ] && {
  NAME=Ubiquiti_LiteAP-AC-120
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_lap-120
110
111
112
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
113
}
114
115
116
117
118
119

[ "$TPROFILE" == nsm2 ] && {
  NAME=Ubiquiti_NanoStation-M2
  ARCH=ar71xx
  SUBARCH=generic
  PROFILE=ubnt-nano-m
120
  FLAVOR=qmpsmall
121
122
123
124
125
126
127
128
129
  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
130
  FLAVOR=qmpsmall
131
132
133
134
135
136
137
138
139
  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
140
  FLAVOR=qmpsmall
141
142
143
144
145
146
147
148
149
  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
150
  FLAVOR=qmpsmall
151
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
152
153
154
155
156
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == nanostation-ac ] && {
  NAME=Ubiquiti_NanoStation-AC
157
  ARCH=ath79
158
159
  SUBARCH=generic
  PROFILE=ubnt_nanostation-ac
160
161
162
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
163
164
165
166
}

[ "$TPROFILE" == nanostation-ac-loco ] && {
  NAME=Ubiquiti_NanoStation-AC-loco
167
  ARCH=ath79
168
169
  SUBARCH=generic
  PROFILE=ubnt_nanostation-ac-loco
170
171
172
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
173
174
175
176
177
178
179
}

[ "$TPROFILE" == lamobo-r1 ] && {
  NAME=Lamobo_R1
  ARCH=sunxi
  SUBARCH=cortexa7
  PROFILE=sun7i-a20-lamobo-r1
180
  FLAVOR=qmpbig
181
182
183
184
185
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFSSDCARD
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4SDCARD
  BINEXT=img.gz
}

186
187
188
189
190
191
192
193
194
195
[ "$TPROFILE" == phicomm-k2p ] && {
  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
}

196
197
198
199
200
[ "$TPROFILE" == rb-nand-64m ] && {
  NAME=MikroTik_RouterBoard_NAND_flash
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-64m
201
  FLAVOR=qmpsmall
202
203
204
205
206
207
208
209
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == rb-nand-large ] && {
  NAME=MikroTik_RouterBoard_NAND_large_flash
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large
210
  FLAVOR=qmpsmall
211
212
213
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

214
[ "$TPROFILE" == rb-nand-large-ac ] && {
215
  NAME=MikroTik_RouterBoard_NAND_large_flash_802.11ac
216
217
218
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large-ac
219
  FLAVOR=qmpsmall
220
221
222
223
224
225
226
227
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == rb-nor-flash-16M-ac ] && {
  NAME=MikroTik_RouterBoard_SPI_NOR_flash_802.11ac
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=rb-nor-flash-16M-ac
228
  FLAVOR=qmpsmall
229
230
231
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

232
233
234
235
236
[ "$TPROFILE" == rb921gs-5Hpacd-15s ] && {
  NAME=MikroTik_RB921GS-5HPacD-15S
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large-ac
237
  FLAVOR=qmpsmall
238
239
240
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

241
242
243
244
245
[ "$TPROFILE" == rbwapg-5hact2hnd ] && {
  NAME=MikroTik_RBwAPG-5HacT2HnD
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=rb-nor-flash-16M-ac
246
  FLAVOR=qmpsmall
247
248
249
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
250
251
252
253
254
255
256
257
258
[ "$TPROFILE" == rb-sxt5n ] && {
  NAME=MikroTik_RBSXT5nDr2
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

259
260
261
262
[ "$TPROFILE" == rocket-m-xw ] && {
  NAME=Ubiquiti_Rocket-M5-XW
  ARCH=ar71xx
  SUBARCH=generic
263
  FLAVOR=qmpsmall
264
265
266
267
268
269
270
271
272
  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
273
  FLAVOR=qmptiny
274
275
276
277
278
279
280
281
282
  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
283
  FLAVOR=qmpsmall
284
285
286
287
288
289
290
291
292
  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
293
  FLAVOR=qmpbig
294
295
296
297
298
299
300
301
302
  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
303
  FLAVOR=qmpbig
304
305
306
307
308
309
310
311
312
  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
313
  FLAVOR=qmpsmall
314
315
316
317
318
319
320
321
322
  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
323
  FLAVOR=qmpsmall
324
325
326
327
328
329
330
331
332
  PROFILE=mc-mac1200r
  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
333
  FLAVOR=qmpsmall
334
335
336
337
338
339
340
341
342
  PROFILE=tl-wr842n-v1
  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
343
  FLAVOR=qmpbig
344
345
346
347
348
  PROFILE=tl-wdr3500-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

349
[ "$TPROFILE" == tl-wdr3600-v1 ] && {
350
351
352
  NAME=TP-Link_TL-WDR3600-v1
  ARCH=ar71xx
  SUBARCH=generic
353
  FLAVOR=qmpbig
354
355
356
357
358
  PROFILE=tl-wdr3600-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

359
[ "$TPROFILE" == tl-wdr4300-v1 ] && {
360
361
362
  NAME=TP-Link_TL-WDR4300-v1
  ARCH=ar71xx
  SUBARCH=generic
363
  FLAVOR=qmpbig
364
365
366
367
368
  PROFILE=tl-wdr4300-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

369
370
371
372
[ "$TPROFILE" == tl-wdr4310-v1 ] && {
  NAME=TP-Link_TL-WDR4310-v1
  ARCH=ar71xx
  SUBARCH=generic
373
  FLAVOR=qmpbig
374
375
376
377
378
  PROFILE=tl-wdr4310-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

379
380
381
382
[ "$TPROFILE" == tl-wdr4900-v1 ] && {
  NAME=TP-Link_TL-WDR4900-v1
  ARCH=mpc85xx
  SUBARCH=generic
383
  FLAVOR=qmpbig
384
385
386
387
388
389
390
391
392
  PROFILE=tl-wdr4900-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == dragino2 ] && {
  NAME=Dragino_MS14
  ARCH=ar71xx
  SUBARCH=generic
393
  FLAVOR=qmpsmall
394
395
396
397
398
399
400
401
  PROFILE=dragino2
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wpe72-8M ] && {
  NAME=Compex_WPE72-8M
  ARCH=ar71xx
  SUBARCH=generic
402
  FLAVOR=qmpsmall
403
404
405
406
407
  PROFILE=WPE72_8M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-factory.img
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-sysupgrade.img
}

408
409
[ "$TPROFILE" == uap-pro ] && {
  NAME=Ubiquiti_UniFi-AP-PRO
410
411
  ARCH=ar71xx
  SUBARCH=generic
412
  FLAVOR=qmpsmall
413
414
  PROFILE=ubnt-uap-pro
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
415
416
417
  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
438
439
[ "$TPROFILE" == ubiquiti-edgerouterx ] && {
  NAME=Ubiquiti_EdgeRouter_X
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
  PROFILE=ubiquiti_edgerouterx
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubiquiti-edgerouterx-sfp ] && {
  NAME=Ubiquiti_EdgeRouter_X-SFP
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
  PROFILE=ubiquiti_edgerouterx-sfp
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == unifiac-lite ] && {
  NAME=Ubiquiti_UniFi-AP-AC-Lite
440
441
  ARCH=ar71xx
  SUBARCH=generic
442
  FLAVOR=qmpsmall
443
  PROFILE=ubnt-unifiac-lite
444
445
446
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

447
448
[ "$TPROFILE" == unifi-ap ] && {
  NAME=Ubiquiti_UniFi-AP
449
450
  ARCH=ar71xx
  SUBARCH=generic
451
  FLAVOR=qmpsmall
452
  PROFILE=ubnt-unifi
453
454
455
456
457
458
459
460
  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
461
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
462
  PROFILE=vocore_vocore-8M
463
464
465
466
467
468
469
470
  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
471
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
472
  PROFILE=vocore_vocore-16M
473
474
475
476
477
478
479
480
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == microwrt ] && {
  NAME=Microduino_MicroWRT
  ARCH=ramips
  SUBARCH=mt7620
481
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
482
  PROFILE=microduino_microwrt
483
484
485
486
487
488
489
490
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wl-wn575a3 ] && {
  NAME=Wavlink_WL-WN575A3
  ARCH=ramips
  SUBARCH=mt76x8
491
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
492
  PROFILE=wavlink_wl-wn575a3
493
494
495
496
497
498
499
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == linkit7688 ] && {
  NAME=LinkIt_Smart-7688
  ARCH=ramips
  SUBARCH=mt76x8
500
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
501
  PROFILE=mediatek_linkit-smart-7688
502
503
504
505
506
507
508
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wt1520-8M ] && {
  NAME=Nexx_WT1520-8M
  ARCH=ramips
  SUBARCH=rt305x
509
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
510
  PROFILE=nexx_wt1520-8m
511
512
513
514
515
516
517
518
  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
519
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
520
  PROFILE=dlink_dir-810l
521
522
523
524
525
526
527
528
  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
529
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
530
  PROFILE=xiaomi_miwifi-mini
531
532
533
534
535
536
537
538
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wrtnode ] && {
  NAME=WRTnode_WRTnode
  ARCH=ramips
  SUBARCH=mt7620
539
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
540
  PROFILE=wrtnode_wrtnode
541
542
543
544
545
546
547
548
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == wt3020-8M ] && {
  NAME=Nexx_WT3020-8M
  ARCH=ramips
  SUBARCH=mt7620
549
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
550
  PROFILE=nexx_wt3020-8m
551
552
553
554
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

555
556
557
558
559
560
561
562
563
564
[ "$TPROFILE" == youhua-wr1200js ] && {
  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
}

565
566
567
568
[ "$TPROFILE" == zbt-ape522ii ] && {
  NAME=ZBT_APE522II
  ARCH=ramips
  SUBARCH=mt7620
569
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
570
  PROFILE=zbtlink_zbt-ape522ii
571
572
573
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
574