Developing lightweight computation at the DSG edge

qmp.profiles.conf 22.6 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
17
ubnt_bullet-m ubnt_bullet-m-xw ubnt_edgeswitch-5xp ubnt_edgeswitch-8xp \
ubnt_lap-120 ubnt_lap-120_ath10k-qca988x \
18
19
20
21
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 \
22
ubnt_routerstation ubnt_routerstation-pro \
23
ubnt_unifiac-lite ubnt_unifiac-mesh ubnt_unifiac-mesh_ath10k-qca988x \
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 \
38
39
40
mikrotik_rb-nor-flash-16M mikrotik_rb-nor-flash-16M-ac \
mikrotik_rb921gs-5Hpacd-15s mikrotik_rblhg-5nd mikrotik_rbwapg-5hact2hnd \
mikrotik_rb-sxt5n \
41
42
tplink_tl-wdr4310-v1"

43
EXTRAPKGS=""
44
45
46
47
48
FACTORY=""
SYSUPGRADE=""
SQUASHIMAGE=""
EXT4IMAGE=""

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

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

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

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[ "$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
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

242
243
244
245
246
247
248
249
250
"$TPROFILE" == mikrotik_rblhg-5nd ] && {
 NAME=MikroTik_RBLHG-5nD
 ARCH=ar71xx
 SUBARCH=mikrotik
 PROFILE=rb-nor-flash-16M
 FLAVOR=qmpsmall
 SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

251
[ "$TPROFILE" == mikrotik_rbwapg-5hact2hnd ] && {
252
253
254
255
  NAME=MikroTik_RBwAPG-5HacT2HnD
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=rb-nor-flash-16M-ac
256
  FLAVOR=qmpsmall
257
258
259
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

260
[ "$TPROFILE" == mikrotik_rb-sxt5n ] && {
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
261
262
263
264
265
266
267
268
  NAME=MikroTik_RBSXT5nDr2
  ARCH=ar71xx
  SUBARCH=mikrotik
  PROFILE=nand-large
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

269
270
271
272
273
274
275
276
277
278
279
280
281
282
[ "$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
283
  SUBARCH=generic
284
  FLAVOR=qmpsmall
285
  PROFILE=tplink_cpe510-v1
286
287
288
289
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

300
301
302
[ "$TPROFILE" == tplink_cpe510-v3 ] && {
  NAME=TP-Link_CPE-510-v3
  ARCH=ath79
303
  SUBARCH=generic
304
  FLAVOR=qmpsmall
305
  PROFILE=tplink_cpe510-v3
306
307
308
309
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

310
311
312
[ "$TPROFILE" == tplink_cpe610-v1 ] && {
  NAME=TP-Link_CPE-610-v1
  ARCH=ath79
313
  SUBARCH=generic
314
315
316
317
318
319
320
321
322
323
324
  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
325
  FLAVOR=qmpbig
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
  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
357
358
359
360
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

361
362
363
[ "$TPROFILE" == ubnt_bullet-m-xw ] && {
  NAME=Ubiquiti_Bullet-M_XW
  ARCH=ath79
364
  SUBARCH=generic
365
366
  PROFILE=ubnt_bullet-m-xw
  FLAVOR=qmpsmall
367
368
369
370
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
[ "$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
}

391
[ "$TPROFILE" == ubnt_lap-120 ] && {
392
  NAME=Ubiquiti_LiteAP-AC-120_AdHoc
393
  ARCH=ath79
394
  SUBARCH=generic
395
  PROFILE=ubnt_lap-120
396
  FLAVOR=qmpsmall
397
398
399
400
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

401
402
403
404
405
[ "$TPROFILE" == ubnt_lap-120_ath10k-qca988x ] && {
  NAME=Ubiquiti_LiteAP-AC-120_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_lap-120
406
  FLAVOR=qmpsmallath10kqca988x80211s
407
408
409
410
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

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

431
[ "$TPROFILE" == ubnt_nanostation-ac-loco ] && {
432
  NAME=Ubiquiti_NanoStation-AC-Loco_AdHoc
433
  ARCH=ath79
434
  SUBARCH=generic
435
  PROFILE=ubnt_nanostation-ac-loco
436
  FLAVOR=qmpsmall
437
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
438
439
440
441
442
443
444
445
  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
446
  FLAVOR=qmpsmallath10kqca988x80211s
447
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
448
449
450
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

451
452
453
454
455
456
457
458
459
460
[ "$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
}

461
462
463
[ "$TPROFILE" == ubnt_nanostation-m ] && {
  NAME=Ubiquiti_NanoStation-M_XM
  ARCH=ath79
464
  SUBARCH=generic
465
466
  PROFILE=ubnt_nanostation-m
  FLAVOR=qmpsmall
467
468
469
470
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
[ "$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
}

491

492
493
494
495
496
497
498
499
500
501








[ "$TPROFILE" == nsm5 ] && {
  NAME=Ubiquiti_NanoStation-M5
502
503
  ARCH=ar71xx
  SUBARCH=generic
504
505
  PROFILE=ubnt-nano-m
  FLAVOR=qmpsmall
506
507
508
509
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

510
511
[ "$TPROFILE" == nsm5-xw ] && {
  NAME=Ubiquiti_NanoStation-M5-XW
512
513
  ARCH=ar71xx
  SUBARCH=generic
514
515
  PROFILE=ubnt-nano-m-xw
  FLAVOR=qmpsmall
516
517
518
519
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

520
521
[ "$TPROFILE" == nslm5-xw ] && {
  NAME=Ubiquiti_NanoStation-Loco-M5-XW
522
523
  ARCH=ar71xx
  SUBARCH=generic
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
  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
544
  FLAVOR=qmpbig
545
  PROFILE=ubnt_routerstation
546
547
548
549
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

550
551
552
[ "$TPROFILE" == ubnt_routerstation-pro ] && {
  NAME=Ubiquiti_RouterStation-Pro
  ARCH=ar71xx
553
  SUBARCH=generic
554
  FLAVOR=qmpbig
555
  PROFILE=ubnt_routerstation
556
557
558
559
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

560
561
562
563
564
565
566
567
568
569
[ "$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 ] && {
570
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_AdHoc
571
572
573
574
575
576
577
  ARCH=ath79
  SUBARCH=generic
  FLAVOR=qmpsmall
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

578
579
580
581
[ "$TPROFILE" == ubnt_unifiac-mesh_ath10k-qca988x ] && {
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_80211s
  ARCH=ath79
  SUBARCH=generic
582
  FLAVOR=qmpsmallath10kqca988x80211s
583
584
585
586
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

587
588
[ "$TPROFILE" == ubnt-rocket-m-ti ] && {
  NAME=Ubiquiti_Rocket-M-TI
589
590
  ARCH=ar71xx
  SUBARCH=generic
591
  FLAVOR=qmpsmall
592
593
  PROFILE=ubnt-rocket-m-ti
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
594
595
596
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

597
598
[ "$TPROFILE" == ubnt-rocket-m-xw ] && {
  NAME=Ubiquiti_Rocket-M-XW
599
600
  ARCH=ar71xx
  SUBARCH=generic
601
  FLAVOR=qmpsmall
602
603
604
  PROFILE=ubnt-rocket-m-xw
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
605
606
}

607
[ "$TPROFILE" == ubnt-uap-pro ] && {
608
  NAME=Ubiquiti_UniFi-AP-PRO
609
610
  ARCH=ar71xx
  SUBARCH=generic
611
  FLAVOR=qmpsmall
612
613
  PROFILE=ubnt-uap-pro
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
614
615
616
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

617
618
619
620
[ "$TPROFILE" == ubnt-unifi  ] && {
  NAME=Ubiquiti_UniFi-AP
  ARCH=ar71xx
  SUBARCH=generic
621
  FLAVOR=qmpsmall
622
623
  PROFILE=ubnt-unifi
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
624
625
626
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
[ "$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
645
  FLAVOR=qmpsmall
646
647
  PROFILE=tplink_tl-wr2543-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
648
649
650
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

651
652
653
[ "$TPROFILE" == tplink_tl-wdr3500-v1 ] && {
  NAME=TP-Link_TL-WDR3500-v1
  ARCH=ath79
654
  SUBARCH=generic
655
  FLAVOR=qmpsmall
656
657
  PROFILE=tplink_tl-wdr3500-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
658
659
660
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

661
662
663
[ "$TPROFILE" == tplink_tl-wdr3600-v1 ] && {
  NAME=TP-Link_TL-WDR3600-v1
  ARCH=ath79
664
  SUBARCH=generic
665
  FLAVOR=qmpsmall
666
  PROFILE=tplink_tl-wdr3600-v1
667
668
669
670
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

681
682
683
684
685
686
687
[ "$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
688
689
690
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

691
692
693
694
695
696
697
698
699
700
701
702
703
704
[ "$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
705
  FLAVOR=qmpsmall
706
707
  PROFILE=tplink_tl-wr842n-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
708
709
710
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

711
712
713
714
[ "$TPROFILE" == tplink_tl-wr842n-v2 ] && {
  NAME=TP-Link_TL-WR842N-v2
  ARCH=ath79
  SUBARCH=generic
715
  FLAVOR=qmpsmall
716
717
  PROFILE=tplink_tl-wr842n-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
718
719
720
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

721
722
723
724
[ "$TPROFILE" == tplink_tl-wr842n-v3 ] && {
  NAME=TP-Link_TL-WR842N-v3
  ARCH=ath79
  SUBARCH=generic
725
  FLAVOR=qmpsmall
726
727
  PROFILE=tplink_tl-wr842n-v3
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
728
729
730
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

731
732
[ "$TPROFILE" == vocore_vocore-16M ] && {
  NAME=Vonger_VoCore-16M
733
734
  ARCH=ramips
  SUBARCH=rt305x
735
  FLAVOR=qmpsmall
736
737
738
  PROFILE=vocore_vocore-16M
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
739
740
}

741
742
[ "$TPROFILE" == vocore_vocore-8M ] && {
  NAME=Vonger_VoCore-8M
743
  ARCH=ramips
744
  SUBARCH=rt305x
745
  FLAVOR=qmpsmall
746
  PROFILE=vocore_vocore-8M
747
748
749
750
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

751
752
[ "$TPROFILE" == wavlink_wl-wn575a3 ] && {
  NAME=Wavlink_WL-WN575A3
753
  ARCH=ramips
754
  SUBARCH=mt76x8
755
  FLAVOR=qmpsmall
756
  PROFILE=wavlink_wl-wn575a3
757
758
759
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

760
[ "$TPROFILE" == wrtnode_wrtnode ] && {
761
762
763
  NAME=WRTnode_WRTnode
  ARCH=ramips
  SUBARCH=mt7620
764
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
765
  PROFILE=wrtnode_wrtnode
766
767
768
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
769
770
771
772
773
774
775
776
777
778
779
[ "$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
}
780

781
782
783
784
785
786
787
788
789
790
791
792
793
794
[ "$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
795
796
  ARCH=ramips
  SUBARCH=mt7620
797
  FLAVOR=qmpsmall
798
799
  PROFILE=xiaomi_miwifi-mini
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
800
801
802
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

803
[ "$TPROFILE" == youhua_wr1200js ] && {
804
805
806
807
808
809
810
811
812
  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
}

813
[ "$TPROFILE" == zbtlink_zbt-ape522ii ] && {
814
815
816
  NAME=ZBT_APE522II
  ARCH=ramips
  SUBARCH=mt7620
817
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
818
  PROFILE=zbtlink_zbt-ape522ii
819
820
821
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}