Developing lightweight computation at the DSG edge

qmp.profiles.conf 22.4 KB
Newer Older
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
1
2
3
SUPPORTED_PROFILES="comfast_cf-e120a-v3
comfast_cf-e313ac comfast_cf-e313ac_ath10k-qca9888 \
comfast_cf-wr800n \
4
dlink_dir-810l \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
5
lamobo_lamobo-r1 \
6
7
mediatek_linkit-smart-7688 \
microduino_microwrt \
8
mikrotik_routerboard-sxt-5n \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
9
mikrotik_routerboard-wap-g-5hact2hnd mikrotik_routerboard-wap-g-5hact2hnd_ath10k-qca988x \
10
11
12
nexx_wt1520-8M nexx_wt3020-8M \
pc-engines_alix \
phicomm_k2p \
13
rpi rpi-2 rpi-3 rpi-4 \
14
soekris_45xx \
15
16
tplink_cpe510-v1 tplink_cpe510-v2 tplink_cpe510-v3 \
tplink_cpe610-v1 tplink_cpe610-v2 \
17
tplink_tl-wr2543-v1 tplink_tl-wdr3500-v1 tplink_tl-wdr3600-v1 \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
18
tplink_tl-wdr4300-v1 tplink_tl-wdr4310-v1 tplink_tl-wdr4900-v1 \
19
tplink_tl-wr842n-v1 tplink_tl-wr842n-v2 tplink_tl-wr842n-v \
20
21
ubnt_bullet-m-ar7240 ubnt_bullet-m-ar7241 ubnt_bullet-m-xw \
ubnt_edgeswitch-5xp ubnt_edgeswitch-8xp \
22
ubnt_edgerouter-x ubnt_edgerouter-x-sfp \
23
24
ubnt_lap-120 ubnt_lap-120_ath10k-qca988x \
ubnt_litebeam-ac-gen2 ubnt_litebeam-ac-gen2_ath10k-qca988x ubnt_nanobridge-m \
25
26
ubnt_nanostation-ac ubnt_nanostation-ac_ath10k-qca988x \
ubnt_nanostation-ac-loco ubnt_nanostation-ac-loco_ath10k-qca988x \
27
ubnt_nanostation-loco-m ubnt_nanostation-loco-m-xw \
28
ubnt_nanostation-m ubnt_nanostation-m-xw \
29
ubnt_powerbeam-5ac-500 ubnt_powerbeam-5ac-500_ath10k-qca988x \
30
ubnt_powerbeam-5ac-gen2 ubnt_powerbeam-5ac-gen2_ath10k-qca988x \
31
ubnt_routerstation ubnt_routerstation-pro \
32
ubnt_unifiac-lite ubnt_unifiac-mesh ubnt_unifiac-mesh_ath10k-qca988x \
33
ubnt2-pico2 \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
34
vocore_vocore-16m vocore_vocore-8m \
35
36
37
wavlink_wl-wn575a3 \
wrtnode_wrtnode \
x86_32-generic x86_64-generic \
38
xiaomi_mir3g-v2 xiaomi_miwifi-mini \
39
youhua_wr1200js \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
40
zbtlink_zbt-ape522ii"
41

42
EXTRAPKGS=""
43

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

49
[ "$TPROFILE" == comfast_cf-e120a-v3 ] && {
50
51
52
53
54
55
56
57
  NAME=Comfast_CF-E120A-v3
  ARCH=ath79
  SUBARCH=generic
  PROFILE=comfast_cf-e120a-v3
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

58
59
60
61
62
63
[ "$TPROFILE" == comfast_cf-e313ac ] && {
  NAME=Comfast_CF-E313AC_AdHoc
  ARCH=ath79
  SUBARCH=generic
  PROFILE=comfast_cf-e313ac
  FLAVOR=qmpsmall
64
  EXTRAPKGS="-kmod-ath9k -kmod-ath9h-common"
65
66
67
68
69
70
71
72
73
74
  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
75
  EXTRAPKGS="-kmod-ath9k -kmod-ath9h-common"
76
77
78
79
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

80
[ "$TPROFILE" == comfast_cf-wr800n ] && {
81
82
83
  NAME=Comfast_CF-WR800N
  ARCH=ramips
  SUBARCH=mt7620
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
84
  PROFILE=comfast_cf-wr800n
85
  FLAVOR=qmpsmall
86
87
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
88
89
}

90
91
92
93
[ "$TPROFILE" == dlink_dir-810l ] && {
  NAME=D-Link_DIR-810L
  ARCH=ramips
  SUBARCH=mt7620
94
  FLAVOR=qmpsmall
95
96
  PROFILE=dlink_dir-810l
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
97
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
98
}
99

100
101
102
103
[ "$TPROFILE" == mediatek_linkit-smart-7688 ] && {
  NAME=MediaTek_LinkIt-Smart-7688
  ARCH=ramips
  SUBARCH=mt76x8
104
  FLAVOR=qmpsmall
105
  PROFILE=mediatek_linkit-smart-7688
106
107
108
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

109

110

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

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

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

141
142
143
144
[ "$TPROFILE" == "pc-engines_alix" ] && {
  NAME=PC-Engines_Alix
  ARCH=x86
  SUBARCH=geode
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
145
  PROFILE=generic
146
  FLAVOR=qmpbig
147
148
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
149
150
151
  BINEXT=img.gz
}

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

162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
[ "$TPROFILE" == rpi ] && {
  NAME=Raspberry-Pi_B_Bplus_CM_Zero_ZeroW
  ARCH=bcm27xx
  SUBARCH=bcm2708
  FLAVOR=qmpbig
  PROFILE=rpi
}

[ "$TPROFILE" == rpi-2 ] && {
  NAME=Raspberry-Pi_2B
  ARCH=bcm27xx
  SUBARCH=bcm2709
  FLAVOR=qmpbig
  PROFILE=rpi-2
}

[ "$TPROFILE" == rpi-3 ] && {
  NAME=Raspberry-Pi_3B_3Bplus_3CM
  ARCH=bcm27xx
  SUBARCH=bcm2710
  FLAVOR=qmpbig
  PROFILE=rpi-3
}

[ "$TPROFILE" == rpi-4 ] && {
  NAME=Raspberry-Pi_4B
  ARCH=bcm27xx
  SUBARCH=bcm2711
  FLAVOR=qmpbig
  PROFILE=rpi-4
}

194
195
196
197
198
199
200
201
[ "$TPROFILE" == mikrotik_routerboard-sxt-5n ] && {
  NAME=MikroTik_RouterBOARD-SXT-5nD-r2-SXT-Lite5
  ARCH=ath79
  SUBARCH=mikrotik
  PROFILE=mikrotik_routerboard-sxt-5nd-r2
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
202

203
204
205
[ "$TPROFILE" == mikrotik_routerboard-wap-g-5hact2hnd ] && {
  NAME=MikroTik_RouterBOARD-wAP-G-5HacT2HnD-wAP-AC_AdHoc
  ARCH=ath79
206
  SUBARCH=mikrotik
207
  PROFILE=mikrotik_routerboard-wap-g-5hact2hnd
208
  FLAVOR=qmpsmall
209
210
211
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

212
213
214
215
216
217
218
219
220
[ "$TPROFILE" == mikrotik_routerboard-wap-g-5hact2hnd_ath10k-qca988x ] && {
  NAME=MikroTik_RouterBOARD-wAP-G-5HacT2HnD-wAP-AC_80211s
  ARCH=ath79
  SUBARCH=mikrotik
  PROFILE=mikrotik_routerboard-wap-g-5hact2hnd
  FLAVOR=qmpsmallath10kqca988x80211s
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
221

222
223
224
225
[ "$TPROFILE" == soekris_45xx ] && {
  NAME=Soekris_Net45xx
  ARCH=x86
  SUBARCH=legacy
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
226
  PROFILE=generic
227
228
229
230
231
232
233
234
235
  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
236
  SUBARCH=generic
237
  FLAVOR=qmptiny
238
  PROFILE=tplink_cpe510-v1
239
240
241
242
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

243
244
245
[ "$TPROFILE" == tplink_cpe510-v2 ] && {
  NAME=TP-Link_CPE-510-v2
  ARCH=ath79
246
  SUBARCH=generic
247
  FLAVOR=qmptiny
248
249
250
  PROFILE=tplink_cpe510-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
251
252
}

253
254
255
[ "$TPROFILE" == tplink_cpe510-v3 ] && {
  NAME=TP-Link_CPE-510-v3
  ARCH=ath79
256
  SUBARCH=generic
257
  FLAVOR=qmptiny
258
  PROFILE=tplink_cpe510-v3
259
260
261
262
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

263
264
265
[ "$TPROFILE" == tplink_cpe610-v1 ] && {
  NAME=TP-Link_CPE-610-v1
  ARCH=ath79
266
  SUBARCH=generic
267
  FLAVOR=qmptiny
268
269
270
271
272
  PROFILE=tplink_cpe610-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
283
[ "$TPROFILE" == lamobo_lamobo-r1 ] && {
284
285
286
  NAME=Lamobo_BananaPi_R1
  ARCH=sunxi
  SUBARCH=cortexa7
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
287
  PROFILE=lamobo_lamobo-r1
288
  FLAVOR=qmpbig
289
290
291
292
293
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFSSDCARD
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4SDCARD
  BINEXT=img.gz
}

294
[ "$TPROFILE" == ubnt_edgerouter-x ] && {
295
296
297
298
  NAME=Ubiquiti_EdgeRouter_X
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
299
  PROFILE=ubnt_edgerouter-x
300
301
302
303
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

304
[ "$TPROFILE" == ubnt_edgerouter-x-sfp ] && {
305
306
307
308
  NAME=Ubiquiti_EdgeRouter_X-SFP
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
309
  PROFILE=ubnt_edgerouter-x-sfp
310
311
312
313
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

314
315
[ "$TPROFILE" == ubnt_bullet-m-ar7240 ] && {
  NAME=Ubiquiti_Bullet-M_XM_AR7240
316
317
  ARCH=ath79
  SUBARCH=generic
318
319
320
321
322
323
324
325
326
327
328
  PROFILE=ubnt_bullet-m-ar7240
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_bullet-m-ar7241 ] && {
  NAME=Ubiquiti_Bullet-M_XM_AR7241
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_bullet-m-ar7241
329
  FLAVOR=qmpsmall
330
331
332
333
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

334
335
336
[ "$TPROFILE" == ubnt_bullet-m-xw ] && {
  NAME=Ubiquiti_Bullet-M_XW
  ARCH=ath79
337
  SUBARCH=generic
338
339
  PROFILE=ubnt_bullet-m-xw
  FLAVOR=qmpsmall
340
341
342
343
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
[ "$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
}

364
[ "$TPROFILE" == ubnt_lap-120 ] && {
365
  NAME=Ubiquiti_LiteAP-AC-120_AdHoc
366
  ARCH=ath79
367
  SUBARCH=generic
368
  PROFILE=ubnt_lap-120
369
  FLAVOR=qmpsmall
370
371
372
373
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

374
375
376
377
378
[ "$TPROFILE" == ubnt_lap-120_ath10k-qca988x ] && {
  NAME=Ubiquiti_LiteAP-AC-120_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_lap-120
379
  FLAVOR=qmpsmallath10kqca988x80211s
380
381
382
383
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
[ "$TPROFILE" == ubnt_litebeam-ac-gen2 ] && {
  NAME=Ubiquiti_LiteBeam-AC-Gen2_AdHoc
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_litebeam-ac-gen2
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_litebeam-ac-gen2_ath10k-qca988x ] && {
  NAME=Ubiquiti_LiteBeam-AC-Gen2_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_litebeam-ac-gen2
  FLAVOR=qmpsmallath10kqca988x80211s
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

404
405
406
407
408
409
410
411
412
413
[ "$TPROFILE" == ubnt_nanobridge-m ] && {
  NAME=Ubiquiti_NanoBridge-M_XM
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_nanobridge-m
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

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

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

454
455
[ "$TPROFILE" == ubnt_nanostation-loco-m ] && {
  NAME=Ubiquiti_NanoStation-Loco-M-XM
456
457
  ARCH=ath79
  SUBARCH=generic
458
  PROFILE=ubnt_nanostation-loco-m
459
460
461
462
463
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

464
465
[ "$TPROFILE" == ubnt_nanostation-loco-m-xw ] && {
  NAME=Ubiquiti_NanoStation-Loco-M-XW
466
  ARCH=ath79
467
  SUBARCH=generic
468
  PROFILE=ubnt_nanostation-loco-m-xw
469
  FLAVOR=qmpsmall
470
471
472
473
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

474
475
[ "$TPROFILE" == ubnt_nanostation-m ] && {
  NAME=Ubiquiti_NanoStation-M-XM
476
477
  ARCH=ath79
  SUBARCH=generic
478
  PROFILE=ubnt_nanostation-m
479
480
481
482
483
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

484
485
[ "$TPROFILE" == ubnt_nanostation-m-xw ] && {
  NAME=Ubiquiti_NanoStation-M-XW
486
487
  ARCH=ath79
  SUBARCH=generic
488
  PROFILE=ubnt_nanostation-m-xw
489
490
491
492
493
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
[ "$TPROFILE" == ubnt_powerbeam-5ac-500 ] && {
  NAME=Ubiquiti_PowerBeam-5AC-500_AdHoc
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_powerbeam-5ac-500
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == ubnt_powerbeam-5ac-500_ath10k-qca988x ] && {
  NAME=Ubiquiti_PowerBeam-5AC-500_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_powerbeam-5ac-500
  FLAVOR=qmpsmallath10kqca988x80211s
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

514
515
516
517
518
519
520
521
522
[ "$TPROFILE" == ubnt_powerbeam-5ac-gen2 ] && {
  NAME=Ubiquiti_PowerBeam-5AC-Gen2_AdHoc
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_powerbeam-5ac-gen2
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
523

524
525
526
527
528
529
530
531
532
[ "$TPROFILE" == ubnt_powerbeam-5ac-gen2_ath10k-qca988x ] && {
  NAME=Ubiquiti_PowerBeam-5AC-Gen2_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_powerbeam-5ac-gen2
  FLAVOR=qmpsmallath10kqca988x80211s
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547

[ "$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
548
  FLAVOR=qmpbig
549
  PROFILE=ubnt_routerstation
550
551
552
553
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

554
555
[ "$TPROFILE" == ubnt_routerstation-pro ] && {
  NAME=Ubiquiti_RouterStation-Pro
556
  ARCH=ath79
557
  SUBARCH=generic
558
  FLAVOR=qmpbig
559
  PROFILE=ubnt_routerstation-pro
560
561
562
563
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

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

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
[ "$TPROFILE" == tplink_tl-wdr4310-v1 ] && {
  NAME=TP-Link_TL-WDR4310-v1
643
  ARCH=ath79
644
645
  SUBARCH=generic
  FLAVOR=qmpbig
646
  PROFILE=tplink_tl-wdr4310-v1
647
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
648
649
650
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

651
652
653
654
655
[ "$TPROFILE" == tplink_tl-wdr4900-v1 ] && {
  NAME=TP-Link_TL-WDR4900-v1
  ARCH=mpc85xx
  SUBARCH=generic
  FLAVOR=qmpbig
656
  PROFILE=tplink_tl-wdr4900-v1
657
658
659
660
661
662
663
664
  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
}

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

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
701
[ "$TPROFILE" == vocore_vocore-8m ] && {
702
  NAME=Vonger_VoCore-8M
703
  ARCH=ramips
704
  SUBARCH=rt305x
705
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
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
[ "$TPROFILE" == x86_32-generic ] && {
731
  NAME=Generic_x86-32
732
733
  ARCH=x86
  SUBARCH=generic
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
734
  PROFILE=generic
735
736
  FLAVOR=qmpbig
  EXTRAPKGS="kmod-ath9k kmod-e1000e"
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
737
738
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHCOMBINEDIMGGZ
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4COMBINEDIMGGZ
739
740
  BINEXT=img.gz
}
741

742
743
744
745
746
[ "$TPROFILE" == x86_64-generic  ] && {
  NAME=Generic_x86-64
  ARCH=x86
  SUBARCH=64
  FLAVOR=qmpbig
747
  EXTRAPKGS="kmod-ath9k kmod-at10k-ct kmod-iwlwifi"
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
748
  PROFILE=generic
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
749
750
751
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHCOMBINEDIMGGZ
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4COMBINEDIMGGZ
  BINEXT=img.gz
752
753
}

754
755
756
757
758
759
760
761
762
763
[ "$TPROFILE" == xiaomi_mir3g-v2 ] && {
  NAME=Xiaomi_Mi_Router_4A_Gigabit_Edition
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
  PROFILE=xiaomi_mir3g-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

764
765
[ "$TPROFILE" == xiaomi_miwifi-mini ] && {
  NAME=Xiaomi_MiWiFi-Mini
766
767
  ARCH=ramips
  SUBARCH=mt7620
768
  FLAVOR=qmpsmall
769
770
  PROFILE=xiaomi_miwifi-mini
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
771
772
773
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

774
[ "$TPROFILE" == youhua_wr1200js ] && {
775
776
777
778
779
780
781
782
783
  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
}

784
[ "$TPROFILE" == zbtlink_zbt-ape522ii ] && {
785
786
787
  NAME=ZBT_APE522II
  ARCH=ramips
  SUBARCH=mt7620
788
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
789
  PROFILE=zbtlink_zbt-ape522ii
790
791
792
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}