Developing lightweight computation at the DSG edge

qmp.profiles.conf 21.5 KB
Newer Older
1
2
SUPPORTED_PROFILES="comfast_cf-e120a-v3 comfast_cf-e313ac \
comfast_cf-e313ac_ath10k-qca9888 comfast_cf-wr800n \
3
4
5
6
7
8
9
10
11
12
13
14
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 \
15
ubiquiti_edgerouterx ubiquiti_edgerouterx-sfp \
16
ubnt_bullet-m ubnt_bullet-m-xw ubnt_lap-120 ubnt_lap-120_ath10k-qca988x \
17
18
19
20
ubnt_nanostation-ac ubnt_nanostation-ac_ath10k-qca988x \
ubnt_nanostation-ac-loco ubnt_nanostation-ac-loco_ath10k-qca988x \
ubnt_nanostation-m ubnt_nanostation-m-xw \
ubnt_nanostation-loco-m-xw ubnt_nanostation-m-loco \
21
ubnt_routerstation ubnt_routerstation-pro \
22
ubnt_unifiac-lite ubnt_unifiac-mesh ubnt_unifiac-mesh_ath10k-qca988x \
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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"

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

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

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

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

76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[ "$TPROFILE" == comfast_cf-e313ac ] && {
  NAME=Comfast_CF-E313AC_AdHoc
  ARCH=ath79
  SUBARCH=generic
  PROFILE=comfast_cf-e313ac
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  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
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

96
[ "$TPROFILE" == comfast_cf-wr800n ] && {
97
98
99
  NAME=Comfast_CF-WR800N
  ARCH=ramips
  SUBARCH=mt7620
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
100
  PROFILE=comfast_cf-wr800n
101
  FLAVOR=qmpsmall
102
103
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
104
105
}

106
107
108
109
[ "$TPROFILE" == dlink_dir-810l ] && {
  NAME=D-Link_DIR-810L
  ARCH=ramips
  SUBARCH=mt7620
110
  FLAVOR=qmpsmall
111
112
  PROFILE=dlink_dir-810l
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
113
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
114
}
115

116
117
118
119
[ "$TPROFILE" == mediatek_linkit-smart-7688 ] && {
  NAME=MediaTek_LinkIt-Smart-7688
  ARCH=ramips
  SUBARCH=mt76x8
120
  FLAVOR=qmpsmall
121
  PROFILE=mediatek_linkit-smart-7688
122
123
124
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

125
126
[ "$TPROFILE" == mercury_mc-mac1200r ] && {
  NAME=Mercury_MAC1200R
127
128
  ARCH=ar71xx
  SUBARCH=generic
129
  FLAVOR=qmpsmall
130
  PROFILE=mc-mac1200r
131
132
133
134
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

135
136
137
138
[ "$TPROFILE" == microduino_microwrt ] && {
  NAME=Microduino_MicroWRT
  ARCH=ramips
  SUBARCH=mt7620
139
  FLAVOR=qmpsmall
140
141
  PROFILE=microduino_microwrt
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
142
143
144
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

145
146
147
148
[ "$TPROFILE" == nexx_wt1520-8M ] && {
  NAME=Nexx_WT1520-8M
  ARCH=ramips
  SUBARCH=rt305x
149
  FLAVOR=qmpsmall
150
151
152
  PROFILE=nexx_wt1520-8m
  FACTORY=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
153
154
}

155
156
157
158
[ "$TPROFILE" == nexx_wt3020-8M ] && {
  NAME=Nexx_WT3020-8M
  ARCH=ramips
  SUBARCH=mt7620
159
  FLAVOR=qmpsmall
160
  PROFILE=nexx_wt3020-8m
161
162
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
163
164
}

165
166
167
168
169
[ "$TPROFILE" == "pc-engines_alix" ] && {
  NAME=PC-Engines_Alix
  ARCH=x86
  SUBARCH=geode
  PROFILE=Generic
170
  FLAVOR=qmpbig
171
172
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
173
174
175
  BINEXT=img.gz
}

176
[ "$TPROFILE" == phicomm_k2p ] && {
177
178
179
180
181
182
183
184
185
  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
}

186
[ "$TPROFILE" == mikrotik_rb-nand-64m ] && {
187
188
189
190
  NAME=MikroTik_RouterBoard_NAND_flash
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-64m
191
  FLAVOR=qmpsmall
192
193
194
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

195
196
[ "$TPROFILE" == mikrotik_rb-nand-large ] && {
  NAME=MikroTik_RouterBoard_NAND_flash_large
197
198
199
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large
200
  FLAVOR=qmpsmall
201
202
203
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

204
205
[ "$TPROFILE" == mikrotik_rb-nand-large-ac ] && {
  NAME=MikroTik_RouterBoard_NAND_flash_largeflash_802.11ac
206
207
208
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large-ac
209
  FLAVOR=qmpsmall
210
211
212
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

213
[ "$TPROFILE" == mikrotik_rb-nor-flash-16M-ac ] && {
214
215
216
217
  NAME=MikroTik_RouterBoard_SPI_NOR_flash_802.11ac
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=rb-nor-flash-16M-ac
218
  FLAVOR=qmpsmall
219
220
221
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

222
[ "$TPROFILE" == mikrotik_rb921gs-5Hpacd-15s ] && {
223
224
225
226
  NAME=MikroTik_RB921GS-5HPacD-15S
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large-ac
227
  FLAVOR=qmpsmall
228
229
230
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

231
[ "$TPROFILE" == mikrotik_rbwapg-5hact2hnd ] && {
232
233
234
235
  NAME=MikroTik_RBwAPG-5HacT2HnD
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=rb-nor-flash-16M-ac
236
  FLAVOR=qmpsmall
237
238
239
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

240
[ "$TPROFILE" == mikrotik_rb-sxt5n ] && {
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
241
242
243
244
245
246
247
248
  NAME=MikroTik_RBSXT5nDr2
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

249
250
251
252
253
254
255
256
257
258
259
260
261
262
[ "$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
263
  SUBARCH=generic
264
  FLAVOR=qmpsmall
265
  PROFILE=tplink_cpe510-v1
266
267
268
269
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

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

290
291
292
[ "$TPROFILE" == tplink_cpe610-v1 ] && {
  NAME=TP-Link_CPE-610-v1
  ARCH=ath79
293
  SUBARCH=generic
294
295
296
297
298
299
300
301
302
303
304
  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
305
  FLAVOR=qmpbig
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
  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
337
338
339
340
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

341
342
343
[ "$TPROFILE" == ubnt_bullet-m-xw ] && {
  NAME=Ubiquiti_Bullet-M_XW
  ARCH=ath79
344
  SUBARCH=generic
345
346
  PROFILE=ubnt_bullet-m-xw
  FLAVOR=qmpsmall
347
348
349
350
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

351
[ "$TPROFILE" == ubnt_lap-120 ] && {
352
  NAME=Ubiquiti_LiteAP-AC-120_AdHoc
353
  ARCH=ath79
354
  SUBARCH=generic
355
  PROFILE=ubnt_lap-120
356
  FLAVOR=qmpsmall
357
358
359
360
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

361
362
363
364
365
[ "$TPROFILE" == ubnt_lap-120_ath10k-qca988x ] && {
  NAME=Ubiquiti_LiteAP-AC-120_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_lap-120
366
  FLAVOR=qmpsmallath10kqca988x80211s
367
368
369
370
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

371
[ "$TPROFILE" == ubnt_nanostation-ac ] && {
372
  NAME=Ubiquiti_NanoStation-AC_AdHoc
373
  ARCH=ath79
374
  SUBARCH=generic
375
  PROFILE=ubnt_nanostation-ac
376
  FLAVOR=qmpsmall
377
378
379
380
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

381
382
383
384
385
[ "$TPROFILE" == ubnt_nanostation-ac_ath10k-qca988x ] && {
  NAME=Ubiquiti_NanoStation-AC_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_nanostation-ac
386
  FLAVOR=qmpsmallath10kqca988x80211s
387
388
389
390
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

391
[ "$TPROFILE" == ubnt_nanostation-ac-loco ] && {
392
  NAME=Ubiquiti_NanoStation-AC-Loco_AdHoc
393
  ARCH=ath79
394
  SUBARCH=generic
395
  PROFILE=ubnt_nanostation-ac-loco
396
  FLAVOR=qmpsmall
397
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
398
399
400
401
402
403
404
405
  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
406
  FLAVOR=qmpsmallath10kqca988x80211s
407
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
408
409
410
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

411
412
413
414
415
416
417
418
419
420
[ "$TPROFILE" == ubnt_nanostation-loco-m-xw ] && {
  NAME=Ubiquiti_NanoStation-Loco-M_XW
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_nanostation-loco-m-xw
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

421
422
423
[ "$TPROFILE" == ubnt_nanostation-m ] && {
  NAME=Ubiquiti_NanoStation-M_XM
  ARCH=ath79
424
  SUBARCH=generic
425
426
  PROFILE=ubnt_nanostation-m
  FLAVOR=qmpsmall
427
428
429
430
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
[ "$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
}

451

452
453
454
455
456
457
458
459
460
461








[ "$TPROFILE" == nsm5 ] && {
  NAME=Ubiquiti_NanoStation-M5
462
463
  ARCH=ar71xx
  SUBARCH=generic
464
465
  PROFILE=ubnt-nano-m
  FLAVOR=qmpsmall
466
467
468
469
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

470
471
[ "$TPROFILE" == nsm5-xw ] && {
  NAME=Ubiquiti_NanoStation-M5-XW
472
473
  ARCH=ar71xx
  SUBARCH=generic
474
475
  PROFILE=ubnt-nano-m-xw
  FLAVOR=qmpsmall
476
477
478
479
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

480
481
[ "$TPROFILE" == nslm5-xw ] && {
  NAME=Ubiquiti_NanoStation-Loco-M5-XW
482
483
  ARCH=ar71xx
  SUBARCH=generic
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
  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
504
  FLAVOR=qmpbig
505
  PROFILE=ubnt_routerstation
506
507
508
509
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

510
511
512
[ "$TPROFILE" == ubnt_routerstation-pro ] && {
  NAME=Ubiquiti_RouterStation-Pro
  ARCH=ar71xx
513
  SUBARCH=generic
514
  FLAVOR=qmpbig
515
  PROFILE=ubnt_routerstation
516
517
518
519
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

520
521
522
523
524
525
526
527
528
529
[ "$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 ] && {
530
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_AdHoc
531
532
533
534
535
536
537
  ARCH=ath79
  SUBARCH=generic
  FLAVOR=qmpsmall
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

538
539
540
541
[ "$TPROFILE" == ubnt_unifiac-mesh_ath10k-qca988x ] && {
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_80211s
  ARCH=ath79
  SUBARCH=generic
542
  FLAVOR=qmpsmallath10kqca988x80211s
543
544
545
546
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

547
548
[ "$TPROFILE" == ubnt-rocket-m-ti ] && {
  NAME=Ubiquiti_Rocket-M-TI
549
550
  ARCH=ar71xx
  SUBARCH=generic
551
  FLAVOR=qmpsmall
552
553
  PROFILE=ubnt-rocket-m-ti
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
554
555
556
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

557
558
[ "$TPROFILE" == ubnt-rocket-m-xw ] && {
  NAME=Ubiquiti_Rocket-M-XW
559
560
  ARCH=ar71xx
  SUBARCH=generic
561
  FLAVOR=qmpsmall
562
563
564
  PROFILE=ubnt-rocket-m-xw
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
565
566
}

567
[ "$TPROFILE" == ubnt-uap-pro ] && {
568
  NAME=Ubiquiti_UniFi-AP-PRO
569
570
  ARCH=ar71xx
  SUBARCH=generic
571
  FLAVOR=qmpsmall
572
573
  PROFILE=ubnt-uap-pro
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
574
575
576
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

577
578
579
580
[ "$TPROFILE" == ubnt-unifi  ] && {
  NAME=Ubiquiti_UniFi-AP
  ARCH=ar71xx
  SUBARCH=generic
581
  FLAVOR=qmpsmall
582
583
  PROFILE=ubnt-unifi
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
584
585
586
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
[ "$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
605
  FLAVOR=qmpsmall
606
607
  PROFILE=tplink_tl-wr2543-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
608
609
610
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

611
612
613
[ "$TPROFILE" == tplink_tl-wdr3500-v1 ] && {
  NAME=TP-Link_TL-WDR3500-v1
  ARCH=ath79
614
  SUBARCH=generic
615
  FLAVOR=qmpsmall
616
617
  PROFILE=tplink_tl-wdr3500-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
618
619
620
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

621
622
623
[ "$TPROFILE" == tplink_tl-wdr3600-v1 ] && {
  NAME=TP-Link_TL-WDR3600-v1
  ARCH=ath79
624
  SUBARCH=generic
625
  FLAVOR=qmpsmall
626
  PROFILE=tplink_tl-wdr3600-v1
627
628
629
630
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

631
632
633
634
[ "$TPROFILE" == tplink_tl-wdr4300-v1 ] && {
  NAME=TP-Link_TL-WDR4300-v1
  ARCH=ath79
  SUBARCH=generic
635
  FLAVOR=qmpsmall
636
637
  PROFILE=tplink_tl-wdr4300-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
638
639
640
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

641
642
643
644
645
646
647
[ "$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
648
649
650
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

651
652
653
654
655
656
657
658
659
660
661
662
663
664
[ "$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
665
  FLAVOR=qmpsmall
666
667
  PROFILE=tplink_tl-wr842n-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
668
669
670
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

671
672
673
674
[ "$TPROFILE" == tplink_tl-wr842n-v2 ] && {
  NAME=TP-Link_TL-WR842N-v2
  ARCH=ath79
  SUBARCH=generic
675
  FLAVOR=qmpsmall
676
677
  PROFILE=tplink_tl-wr842n-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
678
679
680
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

681
682
683
684
[ "$TPROFILE" == tplink_tl-wr842n-v3 ] && {
  NAME=TP-Link_TL-WR842N-v3
  ARCH=ath79
  SUBARCH=generic
685
  FLAVOR=qmpsmall
686
687
  PROFILE=tplink_tl-wr842n-v3
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
688
689
690
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

691
692
[ "$TPROFILE" == vocore_vocore-16M ] && {
  NAME=Vonger_VoCore-16M
693
694
  ARCH=ramips
  SUBARCH=rt305x
695
  FLAVOR=qmpsmall
696
697
698
  PROFILE=vocore_vocore-16M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
699
700
}

701
702
[ "$TPROFILE" == vocore_vocore-8M ] && {
  NAME=Vonger_VoCore-8M
703
  ARCH=ramips
704
  SUBARCH=rt305x
705
  FLAVOR=qmpsmall
706
  PROFILE=vocore_vocore-8M
707
708
709
710
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

711
712
[ "$TPROFILE" == wavlink_wl-wn575a3 ] && {
  NAME=Wavlink_WL-WN575A3
713
  ARCH=ramips
714
  SUBARCH=mt76x8
715
  FLAVOR=qmpsmall
716
  PROFILE=wavlink_wl-wn575a3
717
718
719
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

720
[ "$TPROFILE" == wrtnode_wrtnode ] && {
721
722
723
  NAME=WRTnode_WRTnode
  ARCH=ramips
  SUBARCH=mt7620
724
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
725
  PROFILE=wrtnode_wrtnode
726
727
728
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
729
730
731
732
733
734
735
736
737
738
739
[ "$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
}
740

741
742
743
744
745
746
747
748
749
750
751
752
753
754
[ "$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
755
756
  ARCH=ramips
  SUBARCH=mt7620
757
  FLAVOR=qmpsmall
758
759
  PROFILE=xiaomi_miwifi-mini
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
760
761
762
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

763
[ "$TPROFILE" == youhua_wr1200js ] && {
764
765
766
767
768
769
770
771
772
  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
}

773
[ "$TPROFILE" == zbtlink_zbt-ape522ii ] && {
774
775
776
  NAME=ZBT_APE522II
  ARCH=ramips
  SUBARCH=mt7620
777
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
778
  PROFILE=zbtlink_zbt-ape522ii
779
780
781
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
782