Developing lightweight computation at the DSG edge

qmp.profiles.conf 19.4 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
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
SUPPORTED_PROFILES="comfast_cf-e120a-v3 comfast_cf-wr800n \
dlink_dir-810l \
mediatek_linkit-smart-7688 \
microduino_microwrt \
nexx_wt1520-8M nexx_wt3020-8M \
pc-engines_alix \
phicomm_k2p \
soekris_45xx \
sun7i_a20-lamobo-r1 \
tplink_cpe510-v1 tplink_cpe510-v2 tplink_cpe510-v3 tplink_cpe610-v1 \
tplink_tl-wr2543-v1 tplink_tl-wdr3500-v1 tplink_tl-wdr3600-v1 \
tplink_tl-wdr4300-v1 tplink_tl-wdr4900-v1 \
tplink_tl-wr842n-v1 tplink_tl-wr842n-v2 tplink_tl-wr842n-v \
ubiquiti-edgerouterx ubiquiti-edgerouterx-sfp \
ubnt_bullet-m ubnt_bullet-m-xw ubnt_lap-120 ubnt_nanostation-ac \
ubnt_nanostation-ac-loco ubnt_nanostation-m ubnt_nanostation-m-xw \
ubnt_nanostation-m-loco ubnt_nanostation-m-loco-xw \
ubnt_routerstation ubnt_routerstation-pro \
ubnt_unifiac-lite ubnt_unifiac-mesh \
ubnt-rocket-m-ti ubnt-rocket-m-xw \
ubnt-uap-pro ubnt-unifi \
ubnt2-pico2 \
vocore_vocore-16M vocore_vocore-8M \
wavlink_wl-wn575a3 \
wrtnode_wrtnode \
x86_32-generic x86_64-generic \
xiaomi_miwifi-mini \
youhua_wr1200js \
zbtlink_zbt-ape522ii \
compex_wpe72-8M \
dragino_dragino2 \
mercury_mc-mac1200r \
mikrotik_rb-nand-64m mikrotik_rb-nand-large mikrotik_rb-nand-large-ac \
mikrotik_rb-nor-flash-16M-ac mikrotik_rb921gs-5Hpacd-15s \
mikrotik_rbwapg-5hact2hnd mikrotik_rb-sxt5n \
tplink_tl-wdr4310-v1"


39

40
EXTRAPKGS=""
41
42
43
44
45
FACTORY=""
SYSUPGRADE=""
SQUASHIMAGE=""
EXT4IMAGE=""

46
47
48
[ "$TPROFILE" == compex_wpe72-8M ] && {
  NAME=Compex_WPE72-8M
  ARCH=ar71xx
49
  SUBARCH=generic
50
  FLAVOR=qmpsmall
51
52
53
  PROFILE=WPE72_8M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-factory.img
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-sysupgrade.img
54
55
}

56
57
[ "$TPROFILE" == dragino_dragino2 ] && {
  NAME=Dragino_Dragino-2_MS14
58
59
  ARCH=ar71xx
  SUBARCH=generic
60
  FLAVOR=qmpsmall
61
  PROFILE=dragino2
62
63
64
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

65
[ "$TPROFILE" == comfast_cf-e120a-v3 ] && {
66
67
68
69
70
71
72
73
74
  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
}

75
[ "$TPROFILE" == comfast_cf-wr800n ] && {
76
77
78
  NAME=Comfast_CF-WR800N
  ARCH=ramips
  SUBARCH=mt7620
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
79
  PROFILE=comfast_cf-wr800n
80
  FLAVOR=qmpsmall
81
82
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
83
84
}

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

95
96
97
98
[ "$TPROFILE" == mediatek_linkit-smart-7688 ] && {
  NAME=MediaTek_LinkIt-Smart-7688
  ARCH=ramips
  SUBARCH=mt76x8
99
  FLAVOR=qmpsmall
100
  PROFILE=mediatek_linkit-smart-7688
101
102
103
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

104
105
[ "$TPROFILE" == mercury_mc-mac1200r ] && {
  NAME=Mercury_MAC1200R
106
107
  ARCH=ar71xx
  SUBARCH=generic
108
  FLAVOR=qmpsmall
109
  PROFILE=mc-mac1200r
110
111
112
113
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

114
115
116
117
[ "$TPROFILE" == microduino_microwrt ] && {
  NAME=Microduino_MicroWRT
  ARCH=ramips
  SUBARCH=mt7620
118
  FLAVOR=qmpsmall
119
120
  PROFILE=microduino_microwrt
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
121
122
123
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

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

144
145
146
147
148
[ "$TPROFILE" == "pc-engines_alix" ] && {
  NAME=PC-Engines_Alix
  ARCH=x86
  SUBARCH=geode
  PROFILE=Generic
149
  FLAVOR=qmpbig
150
151
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
152
153
154
  BINEXT=img.gz
}

155
[ "$TPROFILE" == phicomm_k2p ] && {
156
157
158
159
160
161
162
163
164
  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
}

165
[ "$TPROFILE" == mikrotik_rb-nand-64m ] && {
166
167
168
169
  NAME=MikroTik_RouterBoard_NAND_flash
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-64m
170
  FLAVOR=qmpsmall
171
172
173
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

174
175
[ "$TPROFILE" == mikrotik_rb-nand-large ] && {
  NAME=MikroTik_RouterBoard_NAND_flash_large
176
177
178
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large
179
  FLAVOR=qmpsmall
180
181
182
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

183
184
[ "$TPROFILE" == mikrotik_rb-nand-large-ac ] && {
  NAME=MikroTik_RouterBoard_NAND_flash_largeflash_802.11ac
185
186
187
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large-ac
188
  FLAVOR=qmpsmall
189
190
191
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

192
[ "$TPROFILE" == mikrotik_rb-nor-flash-16M-ac ] && {
193
194
195
196
  NAME=MikroTik_RouterBoard_SPI_NOR_flash_802.11ac
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=rb-nor-flash-16M-ac
197
  FLAVOR=qmpsmall
198
199
200
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

201
[ "$TPROFILE" == mikrotik_rb921gs-5Hpacd-15s ] && {
202
203
204
205
  NAME=MikroTik_RB921GS-5HPacD-15S
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large-ac
206
  FLAVOR=qmpsmall
207
208
209
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

210
[ "$TPROFILE" == mikrotik_rbwapg-5hact2hnd ] && {
211
212
213
214
  NAME=MikroTik_RBwAPG-5HacT2HnD
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=rb-nor-flash-16M-ac
215
  FLAVOR=qmpsmall
216
217
218
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

219
[ "$TPROFILE" == mikrotik_rb-sxt5n ] && {
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
220
221
222
223
224
225
226
227
  NAME=MikroTik_RBSXT5nDr2
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

228
229
230
231
232
233
234
235
236
237
238
239
240
241
[ "$TPROFILE" == soekris_45xx ] && {
  NAME=Soekris_Net45xx
  ARCH=x86
  SUBARCH=legacy
  PROFILE=Generic
  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
242
  SUBARCH=generic
243
  FLAVOR=qmpsmall
244
  PROFILE=tplink_cpe510-v1
245
246
247
248
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

249
250
251
[ "$TPROFILE" == tplink_cpe510-v2 ] && {
  NAME=TP-Link_CPE-510-v2
  ARCH=ath79
252
  SUBARCH=generic
253
254
255
256
  FLAVOR=qmpsmall
  PROFILE=tplink_cpe510-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
257
258
}

259
260
261
[ "$TPROFILE" == tplink_cpe510-v3 ] && {
  NAME=TP-Link_CPE-510-v3
  ARCH=ath79
262
  SUBARCH=generic
263
  FLAVOR=qmpsmall
264
  PROFILE=tplink_cpe510-v3
265
266
267
268
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

269
270
271
[ "$TPROFILE" == tplink_cpe610-v1 ] && {
  NAME=TP-Link_CPE-610-v1
  ARCH=ath79
272
  SUBARCH=generic
273
274
275
276
277
278
279
280
281
282
283
  FLAVOR=qmpsmall
  PROFILE=tplink_cpe610-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == sun7i_a20-lamobo-r1 ] && {
  NAME=Lamobo_BananaPi_R1
  ARCH=sunxi
  SUBARCH=cortexa7
  PROFILE=sun7i-a20-lamobo-r1
284
  FLAVOR=qmpbig
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
313
314
315
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFSSDCARD
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4SDCARD
  BINEXT=img.gz
}

[ "$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" == ubnt_bullet-m-xm ] && {
  NAME=Ubiquiti_Bullet-M_XM
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_bullet-m
  FLAVOR=qmpsmall
316
317
318
319
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

320
321
322
[ "$TPROFILE" == ubnt_bullet-m-xw ] && {
  NAME=Ubiquiti_Bullet-M_XW
  ARCH=ath79
323
  SUBARCH=generic
324
325
  PROFILE=ubnt_bullet-m-xw
  FLAVOR=qmpsmall
326
327
328
329
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

330
331
332
[ "$TPROFILE" == ubnt_lap-120 ] && {
  NAME=Ubiquiti_LiteAP-AC-120
  ARCH=ath79
333
  SUBARCH=generic
334
  PROFILE=ubnt_lap-120
335
  FLAVOR=qmpsmall
336
337
338
339
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

340
341
342
[ "$TPROFILE" == ubnt_nanostation-ac ] && {
  NAME=Ubiquiti_NanoStation-AC
  ARCH=ath79
343
  SUBARCH=generic
344
  PROFILE=ubnt_nanostation-ac
345
  FLAVOR=qmpsmall
346
347
348
349
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

350
351
352
[ "$TPROFILE" == ubnt_nanostation-ac-loco ] && {
  NAME=Ubiquiti_NanoStation-AC-Loco
  ARCH=ath79
353
  SUBARCH=generic
354
  PROFILE=ubnt_nanostation-ac-loco
355
  FLAVOR=qmpsmall
356
357
358
359
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

360
361
362
[ "$TPROFILE" == ubnt_nanostation-m ] && {
  NAME=Ubiquiti_NanoStation-M_XM
  ARCH=ath79
363
  SUBARCH=generic
364
365
  PROFILE=ubnt_nanostation-m
  FLAVOR=qmpsmall
366
367
368
369
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
[ "$TPROFILE" == ubnt_nanostation-m-xw ] && {
  NAME=Ubiquiti_NanoStation-M_XW
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_nanostation-m-xw
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_nanostation-m-loco ] && {
  NAME=Ubiquiti_NanoStation-M-Loco_XM
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_bullet-m
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_nanostation-m-loco-xw ] && {
  NAME=Ubiquiti_NanoStation-M-Loco_XW
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_bullet-m-xw
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}








[ "$TPROFILE" == nsm5 ] && {
  NAME=Ubiquiti_NanoStation-M5
409
410
  ARCH=ar71xx
  SUBARCH=generic
411
412
  PROFILE=ubnt-nano-m
  FLAVOR=qmpsmall
413
414
415
416
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

417
418
[ "$TPROFILE" == nsm5-xw ] && {
  NAME=Ubiquiti_NanoStation-M5-XW
419
420
  ARCH=ar71xx
  SUBARCH=generic
421
422
  PROFILE=ubnt-nano-m-xw
  FLAVOR=qmpsmall
423
424
425
426
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

427
428
[ "$TPROFILE" == nslm5-xw ] && {
  NAME=Ubiquiti_NanoStation-Loco-M5-XW
429
430
  ARCH=ar71xx
  SUBARCH=generic
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
  PROFILE=ubnt-loco-m-xw
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_rocket-m ] && {
  NAME=Ubiquiti_Rocket-M_XM
  ARCH=ath79
  SUBARCH=generic
  FLAVOR=qmpsmall
  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
451
  FLAVOR=qmpbig
452
  PROFILE=ubnt_routerstation
453
454
455
456
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

457
458
459
[ "$TPROFILE" == ubnt_routerstation-pro ] && {
  NAME=Ubiquiti_RouterStation-Pro
  ARCH=ar71xx
460
  SUBARCH=generic
461
  FLAVOR=qmpbig
462
  PROFILE=ubnt_routerstation
463
464
465
466
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
[ "$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 ] && {
  NAME=Ubiquiti_UniFi-AP-AC-Mesh
  ARCH=ath79
  SUBARCH=generic
  FLAVOR=qmpsmall
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt-rocket-m-ti ] && {
  NAME=Ubiquiti_Rocket-M-TI
487
488
  ARCH=ar71xx
  SUBARCH=generic
489
  FLAVOR=qmpsmall
490
491
  PROFILE=ubnt-rocket-m-ti
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
492
493
494
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

495
496
[ "$TPROFILE" == ubnt-rocket-m-xw ] && {
  NAME=Ubiquiti_Rocket-M-XW
497
498
  ARCH=ar71xx
  SUBARCH=generic
499
  FLAVOR=qmpsmall
500
501
502
  PROFILE=ubnt-rocket-m-xw
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
503
504
}

505
[ "$TPROFILE" == ubnt-uap-pro ] && {
506
  NAME=Ubiquiti_UniFi-AP-PRO
507
508
  ARCH=ar71xx
  SUBARCH=generic
509
  FLAVOR=qmpsmall
510
511
  PROFILE=ubnt-uap-pro
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
512
513
514
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

515
516
517
518
[ "$TPROFILE" == ubnt-unifi  ] && {
  NAME=Ubiquiti_UniFi-AP
  ARCH=ar71xx
  SUBARCH=generic
519
  FLAVOR=qmpsmall
520
521
  PROFILE=ubnt-unifi
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
522
523
524
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
[ "$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
543
  FLAVOR=qmpsmall
544
545
  PROFILE=tplink_tl-wr2543-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
546
547
548
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

549
550
551
[ "$TPROFILE" == tplink_tl-wdr3500-v1 ] && {
  NAME=TP-Link_TL-WDR3500-v1
  ARCH=ath79
552
  SUBARCH=generic
553
  FLAVOR=qmpsmall
554
555
  PROFILE=tplink_tl-wdr3500-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
556
557
558
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

559
560
561
[ "$TPROFILE" == tplink_tl-wdr3600-v1 ] && {
  NAME=TP-Link_TL-WDR3600-v1
  ARCH=ath79
562
  SUBARCH=generic
563
  FLAVOR=qmpsmall
564
  PROFILE=tplink_tl-wdr3600-v1
565
566
567
568
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

569
570
571
572
[ "$TPROFILE" == tplink_tl-wdr4300-v1 ] && {
  NAME=TP-Link_TL-WDR4300-v1
  ARCH=ath79
  SUBARCH=generic
573
  FLAVOR=qmpsmall
574
575
  PROFILE=tplink_tl-wdr4300-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
576
577
578
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

579
580
581
582
583
584
585
[ "$TPROFILE" == tplink_tl-wdr4310-v1 ] && {
  NAME=TP-Link_TL-WDR4310-v1
  ARCH=ar71xx
  SUBARCH=generic
  FLAVOR=qmpbig
  PROFILE=tl-wdr4310-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
586
587
588
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

589
590
591
592
593
594
595
596
597
598
599
600
601
602
[ "$TPROFILE" == tplink_tl-wdr4900-v1 ] && {
  NAME=TP-Link_TL-WDR4900-v1
  ARCH=mpc85xx
  SUBARCH=generic
  FLAVOR=qmpbig
  PROFILE=tl-wdr4900-v1
  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
603
  FLAVOR=qmpsmall
604
605
  PROFILE=tplink_tl-wr842n-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
606
607
608
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

609
610
611
612
[ "$TPROFILE" == tplink_tl-wr842n-v2 ] && {
  NAME=TP-Link_TL-WR842N-v2
  ARCH=ath79
  SUBARCH=generic
613
  FLAVOR=qmpsmall
614
615
  PROFILE=tplink_tl-wr842n-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
616
617
618
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

619
620
621
622
[ "$TPROFILE" == tplink_tl-wr842n-v3 ] && {
  NAME=TP-Link_TL-WR842N-v3
  ARCH=ath79
  SUBARCH=generic
623
  FLAVOR=qmpsmall
624
625
  PROFILE=tplink_tl-wr842n-v3
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
626
627
628
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

629
630
[ "$TPROFILE" == vocore_vocore-16M ] && {
  NAME=Vonger_VoCore-16M
631
632
  ARCH=ramips
  SUBARCH=rt305x
633
  FLAVOR=qmpsmall
634
635
636
  PROFILE=vocore_vocore-16M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
637
638
}

639
640
[ "$TPROFILE" == vocore_vocore-8M ] && {
  NAME=Vonger_VoCore-8M
641
  ARCH=ramips
642
  SUBARCH=rt305x
643
  FLAVOR=qmpsmall
644
  PROFILE=vocore_vocore-8M
645
646
647
648
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

649
650
[ "$TPROFILE" == wavlink_wl-wn575a3 ] && {
  NAME=Wavlink_WL-WN575A3
651
  ARCH=ramips
652
  SUBARCH=mt76x8
653
  FLAVOR=qmpsmall
654
  PROFILE=wavlink_wl-wn575a3
655
656
657
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

658
[ "$TPROFILE" == wrtnode_wrtnode ] && {
659
660
661
  NAME=WRTnode_WRTnode
  ARCH=ramips
  SUBARCH=mt7620
662
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
663
  PROFILE=wrtnode_wrtnode
664
665
666
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
667
668
669
670
671
672
673
674
675
676
677
[ "$TPROFILE" == x86_32-generic ] && {
  NAME=Generic_x86
  ARCH=x86
  SUBARCH=generic
  PROFILE=Generic
  FLAVOR=qmpbig
  EXTRAPKGS="kmod-ath9k kmod-e1000e"
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
  BINEXT=img.gz
}
678

679
680
681
682
683
684
685
686
687
688
689
690
691
692
[ "$TPROFILE" == x86_64-generic  ] && {
  NAME=Generic_x86-64
  ARCH=x86
  SUBARCH=64
  FLAVOR=qmpbig
  EXTRAPKGS=kmod-ath9k
  PROFILE=Generic
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
  BINEXT=img
}

[ "$TPROFILE" == xiaomi_miwifi-mini ] && {
  NAME=Xiaomi_MiWiFi-Mini
693
694
  ARCH=ramips
  SUBARCH=mt7620
695
  FLAVOR=qmpsmall
696
697
  PROFILE=xiaomi_miwifi-mini
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
698
699
700
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

701
[ "$TPROFILE" == youhua_wr1200js ] && {
702
703
704
705
706
707
708
709
710
  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
}

711
[ "$TPROFILE" == zbtlink_zbt-ape522ii ] && {
712
713
714
  NAME=ZBT_APE522II
  ARCH=ramips
  SUBARCH=mt7620
715
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
716
  PROFILE=zbtlink_zbt-ape522ii
717
718
719
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
720