Developing lightweight computation at the DSG edge

qmp.profiles.conf 22 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
15
16
soekris_45xx \
tplink_cpe510-v1 tplink_cpe510-v2 tplink_cpe510-v3 tplink_cpe610-v1 \
tplink_tl-wr2543-v1 tplink_tl-wdr3500-v1 tplink_tl-wdr3600-v1 \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
17
tplink_tl-wdr4300-v1 tplink_tl-wdr4310-v1 tplink_tl-wdr4900-v1 \
18
tplink_tl-wr842n-v1 tplink_tl-wr842n-v2 tplink_tl-wr842n-v \
19
20
ubnt_bullet-m-ar7240 ubnt_bullet-m-ar7241 ubnt_bullet-m-xw \
ubnt_edgeswitch-5xp ubnt_edgeswitch-8xp \
21
ubnt_edgerouter-x ubnt_edgerouter-x-sfp \
22
23
ubnt_lap-120 ubnt_lap-120_ath10k-qca988x \
ubnt_litebeam-ac-gen2 ubnt_litebeam-ac-gen2_ath10k-qca988x ubnt_nanobridge-m \
24
25
ubnt_nanostation-ac ubnt_nanostation-ac_ath10k-qca988x \
ubnt_nanostation-ac-loco ubnt_nanostation-ac-loco_ath10k-qca988x \
26
ubnt_nanostation-loco-m ubnt_nanostation-loco-m-xw \
27
ubnt_nanostation-m ubnt_nanostation-m-xw \
28
ubnt_powerbeam-5ac-500 ubnt_powerbeam-5ac-500_ath10k-qca988x \
29
ubnt_powerbeam-5ac-gen2 ubnt_powerbeam-5ac-gen2_ath10k-qca988x \
30
ubnt_routerstation ubnt_routerstation-pro \
31
ubnt_unifiac-lite ubnt_unifiac-mesh ubnt_unifiac-mesh_ath10k-qca988x \
32
ubnt2-pico2 \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
33
vocore_vocore-16m vocore_vocore-8m \
34
35
36
wavlink_wl-wn575a3 \
wrtnode_wrtnode \
x86_32-generic x86_64-generic \
37
xiaomi_mir3g-v2 xiaomi_miwifi-mini \
38
youhua_wr1200js \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
39
zbtlink_zbt-ape522ii"
40

41
EXTRAPKGS=""
42

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

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

57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[ "$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
}

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

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

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

106

107

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

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

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

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

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

159
160
161
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
[ "$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
}

191
192
193
194
195
196
197
198
[ "$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
}
199

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

209
210
211
212
213
214
215
216
217
[ "$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
218

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

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

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

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

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
270
[ "$TPROFILE" == lamobo_lamobo-r1 ] && {
271
272
273
  NAME=Lamobo_BananaPi_R1
  ARCH=sunxi
  SUBARCH=cortexa7
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
274
  PROFILE=lamobo_lamobo-r1
275
  FLAVOR=qmpbig
276
277
278
279
280
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFSSDCARD
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4SDCARD
  BINEXT=img.gz
}

281
[ "$TPROFILE" == ubnt_edgerouter-x ] && {
282
283
284
285
  NAME=Ubiquiti_EdgeRouter_X
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
286
  PROFILE=ubnt_edgerouter-x
287
288
289
290
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

301
302
[ "$TPROFILE" == ubnt_bullet-m-ar7240 ] && {
  NAME=Ubiquiti_Bullet-M_XM_AR7240
303
304
  ARCH=ath79
  SUBARCH=generic
305
306
307
308
309
310
311
312
313
314
315
  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
316
  FLAVOR=qmpsmall
317
318
319
320
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
[ "$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
}

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

391
392
393
394
395
396
397
398
399
400
[ "$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
}

401
[ "$TPROFILE" == ubnt_nanostation-ac ] && {
402
  NAME=Ubiquiti_NanoStation-AC_AdHoc
403
  ARCH=ath79
404
  SUBARCH=generic
405
  PROFILE=ubnt_nanostation-ac
406
  FLAVOR=qmpsmall
407
408
409
410
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

421
[ "$TPROFILE" == ubnt_nanostation-ac-loco ] && {
422
  NAME=Ubiquiti_NanoStation-AC-Loco_AdHoc
423
  ARCH=ath79
424
  SUBARCH=generic
425
  PROFILE=ubnt_nanostation-ac-loco
426
  FLAVOR=qmpsmall
427
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
428
429
430
431
432
433
434
435
  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
436
  FLAVOR=qmpsmallath10kqca988x80211s
437
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
438
439
440
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

441
442
[ "$TPROFILE" == ubnt_nanostation-loco-m ] && {
  NAME=Ubiquiti_NanoStation-Loco-M-XM
443
444
  ARCH=ath79
  SUBARCH=generic
445
  PROFILE=ubnt_nanostation-loco-m
446
447
448
449
450
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

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

471
472
[ "$TPROFILE" == ubnt_nanostation-m-xw ] && {
  NAME=Ubiquiti_NanoStation-M-XW
473
474
  ARCH=ath79
  SUBARCH=generic
475
  PROFILE=ubnt_nanostation-m-xw
476
477
478
479
480
  FLAVOR=qmpsmall
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
[ "$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
}

501
502
503
504
505
506
507
508
509
[ "$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
}
510

511
512
513
514
515
516
517
518
519
[ "$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
}
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534

[ "$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
535
  FLAVOR=qmpbig
536
  PROFILE=ubnt_routerstation
537
538
539
540
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

541
542
[ "$TPROFILE" == ubnt_routerstation-pro ] && {
  NAME=Ubiquiti_RouterStation-Pro
543
  ARCH=ath79
544
  SUBARCH=generic
545
  FLAVOR=qmpbig
546
  PROFILE=ubnt_routerstation-pro
547
548
549
550
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

551
552
553
554
555
556
557
558
559
560
[ "$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 ] && {
561
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_AdHoc
562
563
564
565
566
567
568
  ARCH=ath79
  SUBARCH=generic
  FLAVOR=qmpsmall
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

569
570
571
572
[ "$TPROFILE" == ubnt_unifiac-mesh_ath10k-qca988x ] && {
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_80211s
  ARCH=ath79
  SUBARCH=generic
573
  FLAVOR=qmpsmallath10kqca988x80211s
574
575
576
577
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

578
579
580
581
582
583
584
585
586
587
588
589
590
591
[ "$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
592
  FLAVOR=qmpsmall
593
594
  PROFILE=tplink_tl-wr2543-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
595
596
597
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

598
599
600
[ "$TPROFILE" == tplink_tl-wdr3500-v1 ] && {
  NAME=TP-Link_TL-WDR3500-v1
  ARCH=ath79
601
  SUBARCH=generic
602
  FLAVOR=qmpsmall
603
604
  PROFILE=tplink_tl-wdr3500-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
605
606
607
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

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

628
629
[ "$TPROFILE" == tplink_tl-wdr4310-v1 ] && {
  NAME=TP-Link_TL-WDR4310-v1
630
  ARCH=ath79
631
632
  SUBARCH=generic
  FLAVOR=qmpbig
633
  PROFILE=tplink_tl-wdr4310-v1
634
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
635
636
637
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

638
639
640
641
642
[ "$TPROFILE" == tplink_tl-wdr4900-v1 ] && {
  NAME=TP-Link_TL-WDR4900-v1
  ARCH=mpc85xx
  SUBARCH=generic
  FLAVOR=qmpbig
643
  PROFILE=tplink_tl-wdr4900-v1
644
645
646
647
648
649
650
651
  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
652
  FLAVOR=qmpsmall
653
654
  PROFILE=tplink_tl-wr842n-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
655
656
657
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

658
659
660
661
[ "$TPROFILE" == tplink_tl-wr842n-v2 ] && {
  NAME=TP-Link_TL-WR842N-v2
  ARCH=ath79
  SUBARCH=generic
662
  FLAVOR=qmpsmall
663
664
  PROFILE=tplink_tl-wr842n-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
665
666
667
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
678
[ "$TPROFILE" == vocore_vocore-16m ] && {
679
  NAME=Vonger_VoCore-16M
680
681
  ARCH=ramips
  SUBARCH=rt305x
682
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
683
  PROFILE=vocore_vocore-16m
684
685
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
686
687
}

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

698
699
[ "$TPROFILE" == wavlink_wl-wn575a3 ] && {
  NAME=Wavlink_WL-WN575A3
700
  ARCH=ramips
701
  SUBARCH=mt76x8
702
  FLAVOR=qmpsmall
703
  PROFILE=wavlink_wl-wn575a3
704
705
706
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

707
[ "$TPROFILE" == wrtnode_wrtnode ] && {
708
709
710
  NAME=WRTnode_WRTnode
  ARCH=ramips
  SUBARCH=mt7620
711
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
712
  PROFILE=wrtnode_wrtnode
713
714
715
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
716

717
718
719
720
[ "$TPROFILE" == x86_32-generic ] && {
  NAME=Generic_x86
  ARCH=x86
  SUBARCH=generic
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
721
  PROFILE=generic
722
723
  FLAVOR=qmpbig
  EXTRAPKGS="kmod-ath9k kmod-e1000e"
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
724
725
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHCOMBINEDIMGGZ
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4COMBINEDIMGGZ
726
727
  BINEXT=img.gz
}
728

729
730
731
732
733
[ "$TPROFILE" == x86_64-generic  ] && {
  NAME=Generic_x86-64
  ARCH=x86
  SUBARCH=64
  FLAVOR=qmpbig
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
734
735
  EXTRAPKGS=kmod-ath9k kmod-at10k-ct kmod-iwlwifi
  PROFILE=generic
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
736
737
738
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHCOMBINEDIMGGZ
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4COMBINEDIMGGZ
  BINEXT=img.gz
739
740
}

741
742
743
744
745
746
747
748
749
750
[ "$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
}

751
752
[ "$TPROFILE" == xiaomi_miwifi-mini ] && {
  NAME=Xiaomi_MiWiFi-Mini
753
754
  ARCH=ramips
  SUBARCH=mt7620
755
  FLAVOR=qmpsmall
756
757
  PROFILE=xiaomi_miwifi-mini
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
758
759
760
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

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