Developing lightweight computation at the DSG edge

qmp.profiles.conf 23.9 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-921gs-5hpacd-15s mikrotik_routerboard-921gs-5hpacd-15s_ath10k-qca988x \
9
mikrotik_routerboard-sxt-5n \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
10
mikrotik_routerboard-wap-g-5hact2hnd mikrotik_routerboard-wap-g-5hact2hnd_ath10k-qca988x \
11
mikrotik_sxtsq-5-ac mikrotik_sxtsq-5-ac_ath10k-qca40109 \
12
13
14
nexx_wt1520-8M nexx_wt3020-8M \
pc-engines_alix \
phicomm_k2p \
15
rpi rpi-2 rpi-3 rpi-4 \
16
soekris_45xx \
17
18
tplink_cpe510-v1 tplink_cpe510-v2 tplink_cpe510-v3 \
tplink_cpe610-v1 tplink_cpe610-v2 \
19
tplink_tl-wr2543-v1 tplink_tl-wdr3500-v1 tplink_tl-wdr3600-v1 \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
20
tplink_tl-wdr4300-v1 tplink_tl-wdr4310-v1 tplink_tl-wdr4900-v1 \
21
tplink_tl-wr842n-v1 tplink_tl-wr842n-v2 tplink_tl-wr842n-v \
22
23
ubnt_bullet-m-ar7240 ubnt_bullet-m-ar7241 ubnt_bullet-m-xw \
ubnt_edgeswitch-5xp ubnt_edgeswitch-8xp \
24
ubnt_edgerouter-x ubnt_edgerouter-x-sfp \
25
26
ubnt_lap-120 ubnt_lap-120_ath10k-qca988x \
ubnt_litebeam-ac-gen2 ubnt_litebeam-ac-gen2_ath10k-qca988x ubnt_nanobridge-m \
27
28
ubnt_nanostation-ac ubnt_nanostation-ac_ath10k-qca988x \
ubnt_nanostation-ac-loco ubnt_nanostation-ac-loco_ath10k-qca988x \
29
ubnt_nanostation-loco-m ubnt_nanostation-loco-m-xw \
30
ubnt_nanostation-m ubnt_nanostation-m-xw \
31
ubnt_powerbeam-5ac-500 ubnt_powerbeam-5ac-500_ath10k-qca988x \
32
ubnt_powerbeam-5ac-gen2 ubnt_powerbeam-5ac-gen2_ath10k-qca988x \
33
ubnt_routerstation ubnt_routerstation-pro \
34
ubnt_unifiac-lite ubnt_unifiac-mesh ubnt_unifiac-mesh_ath10k-qca988x \
35
ubnt_picostation-2 \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
36
vocore_vocore-16m vocore_vocore-8m \
37
38
39
wavlink_wl-wn575a3 \
wrtnode_wrtnode \
x86_32-generic x86_64-generic \
40
xiaomi_mir3g-v2 xiaomi_mi-router-4a-gigabit xiaomi_miwifi-mini \
41
youhua_wr1200js \
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
42
zbtlink_zbt-ape522ii"
43

44
EXTRAPKGS=""
45

46
47
48
49
50
FACTORY=""
SYSUPGRADE=""
SQUASHIMAGE=""
EXT4IMAGE=""

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

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

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

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

108

109

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

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

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

140
141
142
143
[ "$TPROFILE" == "pc-engines_alix" ] && {
  NAME=PC-Engines_Alix
  ARCH=x86
  SUBARCH=geode
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
144
  PROFILE=generic
145
  FLAVOR=qmpbig
146
  EXTRAPKGS="kmod-ath5k kmod-ath9k kmod-iwlwifi"
147
148
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$COMBINEDSQUASHIMG
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$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
202
203
204
205
206
207
208
209
210
211
[ "$TPROFILE" == mikrotik_routerboard-921gs-5hpacd-15s ] && {
  NAME=MikroTik_RouterBOARD_921GS-5HPacD-15s-mANTBox-15s_AdHoc
  ARCH=ath79
  SUBARCH=mikrotik
  PROFILE=mikrotik_routerboard-921gs-5hpacd-15s
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == mikrotik_routerboard-921gs-5hpacd-15s_ath10k-qca988x ] && {
  NAME=MikroTik_RouterBOARD_921GS-5HPacD-15s-mANTBox-15s_80211s
  ARCH=ath79
  SUBARCH=mikrotik
  PROFILE=mikrotik_routerboard-921gs-5hpacd-15s
  FLAVOR=qmpsmallath10kqca988x80211s
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

212
213
214
215
216
217
218
219
[ "$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
}
220

221
222
223
[ "$TPROFILE" == mikrotik_routerboard-wap-g-5hact2hnd ] && {
  NAME=MikroTik_RouterBOARD-wAP-G-5HacT2HnD-wAP-AC_AdHoc
  ARCH=ath79
224
  SUBARCH=mikrotik
225
  PROFILE=mikrotik_routerboard-wap-g-5hact2hnd
226
  FLAVOR=qmpsmall
227
228
229
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

230
231
232
233
234
235
236
237
238
[ "$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
}

239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
[ "$TPROFILE" == mikrotik_sxtsq-5-ac ] && {
  NAME=MikroTik_RouterBOARD-SXTsqG-5acD-SXTsq-5-ac_AdHoc
  ARCH=ipq40xx
  SUBARCH=mikrotik
  PROFILE=mikrotik_sxtsq-5-ac
  FLAVOR=qmpsmall
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

[ "$TPROFILE" == mikrotik_sxtsq-5-ac_ath10k-qca40109 ] && {
  NAME=MikroTik_RouterBOARD-SXTsqG-5acD-SXTsq-5-ac_80211s
  ARCH=ipq40xx
  SUBARCH=mikrotik
  PROFILE=mikrotik_sxtsq-5-ac
  FLAVOR=qmpsmallath10kqca401980211s
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
256

257
258
259
260
[ "$TPROFILE" == soekris_45xx ] && {
  NAME=Soekris_Net45xx
  ARCH=x86
  SUBARCH=legacy
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
261
  PROFILE=generic
262
263
264
265
266
267
268
269
270
  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
271
  SUBARCH=generic
272
  FLAVOR=qmpsmall
273
  PROFILE=tplink_cpe510-v1
274
275
276
277
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

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

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

298
299
300
[ "$TPROFILE" == tplink_cpe610-v1 ] && {
  NAME=TP-Link_CPE-610-v1
  ARCH=ath79
301
  SUBARCH=generic
302
  FLAVOR=qmpsmall
303
304
305
306
307
  PROFILE=tplink_cpe610-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

308
309
310
311
[ "$TPROFILE" == tplink_cpe610-v2 ] && {
  NAME=TP-Link_CPE-610-v2
  ARCH=ath79
  SUBARCH=generic
312
  FLAVOR=qmpsmall
313
314
315
316
317
  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
318
[ "$TPROFILE" == lamobo_lamobo-r1 ] && {
319
320
321
  NAME=Lamobo_BananaPi_R1
  ARCH=sunxi
  SUBARCH=cortexa7
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
322
  PROFILE=lamobo_lamobo-r1
323
  FLAVOR=qmpbig
324
325
326
327
328
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFSSDCARD
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4SDCARD
  BINEXT=img.gz
}

329
[ "$TPROFILE" == ubnt_edgerouter-x ] && {
330
331
332
333
  NAME=Ubiquiti_EdgeRouter_X
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
334
  PROFILE=ubnt_edgerouter-x
335
336
337
338
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

339
[ "$TPROFILE" == ubnt_edgerouter-x-sfp ] && {
340
341
342
343
  NAME=Ubiquiti_EdgeRouter_X-SFP
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
344
  PROFILE=ubnt_edgerouter-x-sfp
345
346
347
348
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

349
350
[ "$TPROFILE" == ubnt_bullet-m-ar7240 ] && {
  NAME=Ubiquiti_Bullet-M_XM_AR7240
351
352
  ARCH=ath79
  SUBARCH=generic
353
  PROFILE=ubnt_bullet-m-ar7240
354
  FLAVOR=qmptiny
355
356
357
358
359
360
361
362
363
  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
364
  FLAVOR=qmptiny
365
366
367
368
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

369
370
371
[ "$TPROFILE" == ubnt_bullet-m-xw ] && {
  NAME=Ubiquiti_Bullet-M_XW
  ARCH=ath79
372
  SUBARCH=generic
373
  PROFILE=ubnt_bullet-m-xw
374
  FLAVOR=qmptiny
375
376
377
378
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
[ "$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
}

399
[ "$TPROFILE" == ubnt_lap-120 ] && {
400
  NAME=Ubiquiti_LiteAP-AC-120_AdHoc
401
  ARCH=ath79
402
  SUBARCH=generic
403
  PROFILE=ubnt_lap-120
404
  FLAVOR=qmpsmall
405
406
407
408
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

409
410
411
412
413
[ "$TPROFILE" == ubnt_lap-120_ath10k-qca988x ] && {
  NAME=Ubiquiti_LiteAP-AC-120_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_lap-120
414
  FLAVOR=qmpsmallath10kqca988x80211s
415
416
417
418
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
[ "$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
}

439
440
441
442
443
444
445
446
447
448
[ "$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
}

449
[ "$TPROFILE" == ubnt_nanostation-ac ] && {
450
  NAME=Ubiquiti_NanoStation-AC_AdHoc
451
  ARCH=ath79
452
  SUBARCH=generic
453
  PROFILE=ubnt_nanostation-ac
454
  FLAVOR=qmpsmall
455
456
457
458
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

459
460
461
462
463
[ "$TPROFILE" == ubnt_nanostation-ac_ath10k-qca988x ] && {
  NAME=Ubiquiti_NanoStation-AC_80211s
  ARCH=ath79
  SUBARCH=generic
  PROFILE=ubnt_nanostation-ac
464
  FLAVOR=qmpsmallath10kqca988x80211s
465
466
467
468
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

469
[ "$TPROFILE" == ubnt_nanostation-ac-loco ] && {
470
  NAME=Ubiquiti_NanoStation-AC-Loco_AdHoc
471
  ARCH=ath79
472
  SUBARCH=generic
473
  PROFILE=ubnt_nanostation-ac-loco
474
  FLAVOR=qmpsmall
475
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
476
477
478
479
480
481
482
483
  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
484
  FLAVOR=qmpsmallath10kqca988x80211s
485
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
486
487
488
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

489
490
[ "$TPROFILE" == ubnt_nanostation-loco-m ] && {
  NAME=Ubiquiti_NanoStation-Loco-M-XM
491
492
  ARCH=ath79
  SUBARCH=generic
493
  PROFILE=ubnt_nanostation-loco-m
494
  FLAVOR=qmptiny
495
496
497
498
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

499
500
[ "$TPROFILE" == ubnt_nanostation-loco-m-xw ] && {
  NAME=Ubiquiti_NanoStation-Loco-M-XW
501
  ARCH=ath79
502
  SUBARCH=generic
503
  PROFILE=ubnt_nanostation-loco-m-xw
504
  FLAVOR=qmpsmall
505
506
507
508
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

509
510
[ "$TPROFILE" == ubnt_nanostation-m ] && {
  NAME=Ubiquiti_NanoStation-M-XM
511
512
  ARCH=ath79
  SUBARCH=generic
513
  PROFILE=ubnt_nanostation-m
514
  FLAVOR=qmptiny
515
516
517
518
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

519
520
[ "$TPROFILE" == ubnt_nanostation-m-xw ] && {
  NAME=Ubiquiti_NanoStation-M-XW
521
522
  ARCH=ath79
  SUBARCH=generic
523
  PROFILE=ubnt_nanostation-m-xw
524
  FLAVOR=qmpsmall
525
526
527
528
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
[ "$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
}

549
550
551
552
553
554
555
556
557
[ "$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
}
558

559
560
561
562
563
564
565
566
567
[ "$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
}
568
569
570
571
572

[ "$TPROFILE" == ubnt_rocket-m ] && {
  NAME=Ubiquiti_Rocket-M_XM
  ARCH=ath79
  SUBARCH=generic
573
  FLAVOR=qmptiny
574
575
576
577
578
579
580
581
582
  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
583
  FLAVOR=qmpbig
584
  PROFILE=ubnt_routerstation
585
586
587
588
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

589
590
[ "$TPROFILE" == ubnt_routerstation-pro ] && {
  NAME=Ubiquiti_RouterStation-Pro
591
  ARCH=ath79
592
  SUBARCH=generic
593
  FLAVOR=qmpbig
594
  PROFILE=ubnt_routerstation-pro
595
596
597
598
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

599
600
601
602
603
604
605
606
607
608
[ "$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 ] && {
609
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_AdHoc
610
611
612
613
614
615
616
  ARCH=ath79
  SUBARCH=generic
  FLAVOR=qmpsmall
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

617
618
619
620
[ "$TPROFILE" == ubnt_unifiac-mesh_ath10k-qca988x ] && {
  NAME=Ubiquiti_UniFi-AP-AC-Mesh_80211s
  ARCH=ath79
  SUBARCH=generic
621
  FLAVOR=qmpsmallath10kqca988x80211s
622
623
624
625
  PROFILE=ubnt_unifiac-mesh
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

626
[ "$TPROFILE" == ubnt_picostation-2 ] && {
627
628
629
630
  NAME=Ubiquiti_PicoStation-2
  ARCH=ath25
  SUBARCH=generic
  FLAVOR=qmptiny
631
  PROFILE=ubnt_picostation-2
632
633
634
635
636
637
638
639
  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
640
  FLAVOR=qmpsmall
641
642
  PROFILE=tplink_tl-wr2543-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
643
644
645
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

646
647
648
[ "$TPROFILE" == tplink_tl-wdr3500-v1 ] && {
  NAME=TP-Link_TL-WDR3500-v1
  ARCH=ath79
649
  SUBARCH=generic
650
  FLAVOR=qmpsmall
651
652
  PROFILE=tplink_tl-wdr3500-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
653
654
655
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

656
657
658
[ "$TPROFILE" == tplink_tl-wdr3600-v1 ] && {
  NAME=TP-Link_TL-WDR3600-v1
  ARCH=ath79
659
  SUBARCH=generic
660
  FLAVOR=qmpsmall
661
  PROFILE=tplink_tl-wdr3600-v1
662
663
664
665
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

666
667
668
669
[ "$TPROFILE" == tplink_tl-wdr4300-v1 ] && {
  NAME=TP-Link_TL-WDR4300-v1
  ARCH=ath79
  SUBARCH=generic
670
  FLAVOR=qmpsmall
671
672
  PROFILE=tplink_tl-wdr4300-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
673
674
675
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

676
677
[ "$TPROFILE" == tplink_tl-wdr4310-v1 ] && {
  NAME=TP-Link_TL-WDR4310-v1
678
  ARCH=ath79
679
680
  SUBARCH=generic
  FLAVOR=qmpbig
681
  PROFILE=tplink_tl-wdr4310-v1
682
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
683
684
685
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

686
687
688
[ "$TPROFILE" == tplink_tl-wdr4900-v1 ] && {
  NAME=TP-Link_TL-WDR4900-v1
  ARCH=mpc85xx
689
  SUBARCH=p1010
690
  FLAVOR=qmpbig
691
  PROFILE=tplink_tl-wdr4900-v1
692
693
694
695
696
697
698
699
  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
700
  FLAVOR=qmpsmall
701
702
  PROFILE=tplink_tl-wr842n-v1
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
703
704
705
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

706
707
708
709
[ "$TPROFILE" == tplink_tl-wr842n-v2 ] && {
  NAME=TP-Link_TL-WR842N-v2
  ARCH=ath79
  SUBARCH=generic
710
  FLAVOR=qmpsmall
711
712
  PROFILE=tplink_tl-wr842n-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
713
714
715
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

716
717
718
719
[ "$TPROFILE" == tplink_tl-wr842n-v3 ] && {
  NAME=TP-Link_TL-WR842N-v3
  ARCH=ath79
  SUBARCH=generic
720
  FLAVOR=qmpsmall
721
722
  PROFILE=tplink_tl-wr842n-v3
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
723
724
725
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
726
[ "$TPROFILE" == vocore_vocore-16m ] && {
727
  NAME=Vonger_VoCore-16M
728
729
  ARCH=ramips
  SUBARCH=rt305x
730
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
731
  PROFILE=vocore_vocore-16m
732
733
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
734
735
}

Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
736
[ "$TPROFILE" == vocore_vocore-8m ] && {
737
  NAME=Vonger_VoCore-8M
738
  ARCH=ramips
739
  SUBARCH=rt305x
740
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
741
  PROFILE=vocore_vocore-8m
742
743
744
745
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

746
747
[ "$TPROFILE" == wavlink_wl-wn575a3 ] && {
  NAME=Wavlink_WL-WN575A3
748
  ARCH=ramips
749
  SUBARCH=mt76x8
750
  FLAVOR=qmpsmall
751
  PROFILE=wavlink_wl-wn575a3
752
753
754
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

755
[ "$TPROFILE" == wrtnode_wrtnode ] && {
756
757
758
  NAME=WRTnode_WRTnode
  ARCH=ramips
  SUBARCH=mt7620
759
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
760
  PROFILE=wrtnode_wrtnode
761
762
763
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
764

765
[ "$TPROFILE" == x86_32-generic ] && {
766
  NAME=Generic_x86-32
767
768
  ARCH=x86
  SUBARCH=generic
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
769
  PROFILE=generic
770
771
  FLAVOR=qmpbig
  EXTRAPKGS="kmod-ath9k kmod-e1000e"
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
772
773
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHCOMBINEDIMGGZ
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4COMBINEDIMGGZ
774
775
  BINEXT=img.gz
}
776

777
778
779
780
[ "$TPROFILE" == x86_64-generic  ] && {
  NAME=Generic_x86-64
  ARCH=x86
  SUBARCH=64
781
782
  FLAVOR=qmpbigath10kqca988x80211s
  EXTRAPKGS="kmod-ath9k kmod-iwlwifi"
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
783
  PROFILE=generic
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
784
785
786
  SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHCOMBINEDIMGGZ
  EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4COMBINEDIMGGZ
  BINEXT=img.gz
787
788
}

789
[ "$TPROFILE" == xiaomi_mir3g-v2 ] && {
790
  NAME=Xiaomi_Mi_Router_3G_v2
791
792
793
794
795
796
797
798
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
  PROFILE=xiaomi_mir3g-v2
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

799
800
801
802
803
804
805
806
807
808
[ "$TPROFILE" == xiaomi_mi-router-4a-gigabit ] && {
  NAME=Xiaomi_Mi_Router_4A_Gigabit_Edition
  ARCH=ramips
  SUBARCH=mt7621
  FLAVOR=qmpsmall
  PROFILE=xiaomi_mi-router-4a-gigabit
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

809
810
[ "$TPROFILE" == xiaomi_miwifi-mini ] && {
  NAME=Xiaomi_MiWiFi-Mini
811
812
  ARCH=ramips
  SUBARCH=mt7620
813
  FLAVOR=qmpsmall
814
815
  PROFILE=xiaomi_miwifi-mini
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
816
817
818
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}

819
[ "$TPROFILE" == youhua_wr1200js ] && {
820
821
822
823
824
825
826
827
828
  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
}

829
[ "$TPROFILE" == zbtlink_zbt-ape522ii ] && {
830
831
832
  NAME=ZBT_APE522II
  ARCH=ramips
  SUBARCH=mt7620
833
  FLAVOR=qmpsmall
Roger Pueyo Centelles's avatar
Roger Pueyo Centelles committed
834
  PROFILE=zbtlink_zbt-ape522ii
835
836
837
  FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
  SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}