1 include .
/common-ubnt.mk
3 define Device
/ubnt_aircube-ac
6 DEVICE_MODEL
:= airCube AC
8 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
10 TARGET_DEVICES
+= ubnt_aircube-ac
12 define Device
/ubnt_aircube-isp
15 DEVICE_MODEL
:= airCube ISP
17 SUPPORTED_DEVICES
+= ubnt
,acb-isp
19 TARGET_DEVICES
+= ubnt_aircube-isp
21 define Device
/ubnt_bullet-ac
23 DEVICE_MODEL
:= Bullet AC
24 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
26 TARGET_DEVICES
+= ubnt_bullet-ac
28 define Device
/ubnt_bullet-m-xw
30 DEVICE_MODEL
:= Bullet M
31 DEVICE_ALT0_VENDOR
:= Ubiquiti
32 DEVICE_ALT0_MODEL
:= Rocket M
33 DEVICE_ALT0_VARIANT
:= XW
34 DEVICE_PACKAGES
+= rssileds
35 SUPPORTED_DEVICES
+= bullet-m-xw
37 TARGET_DEVICES
+= ubnt_bullet-m-xw
39 define Device
/ubnt_edgeswitch-5xp
41 DEVICE_MODEL
:= EdgeSwitch
5XP
43 TARGET_DEVICES
+= ubnt_edgeswitch-5xp
45 define Device
/ubnt_edgeswitch-8xp
47 DEVICE_MODEL
:= EdgeSwitch
8XP
48 DEVICE_PACKAGES
+= kmod-switch-bcm53xx-mdio
51 TARGET_DEVICES
+= ubnt_edgeswitch-8xp
53 define Device
/ubnt_lap-120
55 DEVICE_MODEL
:= LiteAP ac
(LAP-120
)
56 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
58 TARGET_DEVICES
+= ubnt_lap-120
60 define Device
/ubnt_litebeam-ac-gen2
62 DEVICE_MODEL
:= LiteBeam AC
63 DEVICE_VARIANT
:= Gen2
64 DEVICE_PACKAGES
:= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
66 TARGET_DEVICES
+= ubnt_litebeam-ac-gen2
68 define Device
/ubnt_nanobeam-ac
70 DEVICE_MODEL
:= NanoBeam AC
71 DEVICE_VARIANT
:= Gen1
72 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
74 TARGET_DEVICES
+= ubnt_nanobeam-ac
76 define Device
/ubnt_nanobeam-ac-gen2
78 DEVICE_MODEL
:= NanoBeam AC
79 DEVICE_VARIANT
:= Gen2
80 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
82 TARGET_DEVICES
+= ubnt_nanobeam-ac-gen2
84 define Device
/ubnt_nanobeam-ac-xc
87 DEVICE_MODEL
:= NanoBeam AC
88 DEVICE_VARIANT
:= Gen1
(XC
)
89 DEVICE_PACKAGES
+= kmod-ath10k-ct ath10k-firmware-qca988x-ct rssileds
91 TARGET_DEVICES
+= ubnt_nanobeam-ac-xc
93 define Device
/ubnt_nanobeam-m5-xw
95 DEVICE_MODEL
:= NanoBeam M5
96 DEVICE_PACKAGES
+= rssileds
97 SUPPORTED_DEVICES
+= loco-m-xw
99 TARGET_DEVICES
+= ubnt_nanobeam-m5-xw
101 define Device
/ubnt_nanostation-ac
103 DEVICE_MODEL
:= Nanostation AC
104 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
106 TARGET_DEVICES
+= ubnt_nanostation-ac
108 define Device
/ubnt_nanostation-ac-loco
110 DEVICE_MODEL
:= Nanostation AC loco
111 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
113 TARGET_DEVICES
+= ubnt_nanostation-ac-loco
115 define Device
/ubnt_nanostation-loco-m-xw
117 DEVICE_MODEL
:= Nanostation Loco M
118 DEVICE_PACKAGES
+= rssileds
119 SUPPORTED_DEVICES
+= loco-m-xw
121 TARGET_DEVICES
+= ubnt_nanostation-loco-m-xw
123 define Device
/ubnt_nanostation-m-xw
125 DEVICE_MODEL
:= Nanostation M
126 DEVICE_PACKAGES
+= rssileds
127 SUPPORTED_DEVICES
+= nanostation-m-xw
129 TARGET_DEVICES
+= ubnt_nanostation-m-xw
131 define Device
/ubnt_powerbeam-5ac-500
134 DEVICE_MODEL
:= PowerBeam
5AC
135 DEVICE_VARIANT
:= 500
136 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
138 TARGET_DEVICES
+= ubnt_powerbeam-5ac-500
140 define Device
/ubnt_powerbeam-5ac-gen2
142 DEVICE_MODEL
:= PowerBeam
5AC
143 DEVICE_VARIANT
:= Gen2
144 DEVICE_PACKAGES
:= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
146 TARGET_DEVICES
+= ubnt_powerbeam-5ac-gen2
148 define Device
/ubnt_powerbeam-m2-xw
150 DEVICE_MODEL
:= PowerBeam M2
151 DEVICE_PACKAGES
+= rssileds
152 SUPPORTED_DEVICES
+= loco-m-xw
154 TARGET_DEVICES
+= ubnt_powerbeam-m2-xw
156 define Device
/ubnt_powerbeam-m5-xw
158 DEVICE_MODEL
:= PowerBeam M5
159 DEVICE_PACKAGES
+= rssileds
160 SUPPORTED_DEVICES
+= loco-m-xw
162 TARGET_DEVICES
+= ubnt_powerbeam-m5-xw
164 define Device
/ubnt_powerbridge-m
167 DEVICE_MODEL
:= PowerBridge M
168 DEVICE_PACKAGES
+= rssileds
169 SUPPORTED_DEVICES
+= bullet-m
171 TARGET_DEVICES
+= ubnt_powerbridge-m
173 define Device
/ubnt_rocket-5ac-lite
176 DEVICE_MODEL
:= Rocket
5AC
177 DEVICE_VARIANT
:= Lite
178 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
180 TARGET_DEVICES
+= ubnt_rocket-5ac-lite
182 define Device
/ubnt_rocket-m
185 DEVICE_MODEL
:= Rocket M
186 DEVICE_PACKAGES
+= rssileds
187 SUPPORTED_DEVICES
+= rocket-m
189 TARGET_DEVICES
+= ubnt_rocket-m
191 define Device
/ubnt_routerstation_common
192 DEVICE_PACKAGES
:= -kmod-ath9k
-wpad-basic-mbedtls
-uboot-envtools kmod-usb-ohci \
194 DEVICE_VENDOR
:= Ubiquiti
197 LOADER_FLASH_OFFS
:= 0x50000
198 COMPILE
:= loader-
$(1).bin
199 COMPILE
/loader-
$(1).bin
:= loader-okli-compile | lzma | pad-to
128k
201 IMAGES
+= factory.bin
202 IMAGE
/factory.bin
:= append-kernel | uImage lzma
-M
0x4f4b4c49 | pad-to
$$$$(BLOCKSIZE
) | \
203 append-rootfs | pad-rootfs | pad-to
$$$$(BLOCKSIZE
) | \
204 mkubntimage
$$$$(KDIR
)/loader-
$(1).bin | check-size
205 IMAGE
/sysupgrade.bin
:= append-kernel | uImage lzma
-M
0x4f4b4c49 | pad-to
$$$$(BLOCKSIZE
) | \
206 append-rootfs | pad-rootfs | pad-to
$$$$(BLOCKSIZE
) | check-size | \
207 sysupgrade-tar kernel
=$$$$(KDIR
)/loader-
$(1).bin rootfs
=$$$$@ | append-metadata
208 KERNEL
:= kernel-bin | append-dtb | lzma
209 KERNEL_INITRAMFS
:= kernel-bin | append-dtb
210 DEVICE_COMPAT_VERSION
:= 2.0
211 DEVICE_COMPAT_MESSAGE
:= Partition design has changed compared to older versions
(19.07 and
21.02) \
212 due to kernel drivers restrictions. Upgrade via sysupgrade mechanism is one way operation. \
213 Downgrading OpenWrt version will involve usage of TFTP recovery or bootloader command line interface.
216 define Device
/ubnt_routerstation
217 $(Device
/ubnt_routerstation_common
)
218 DEVICE_MODEL
:= RouterStation
222 DEVICE_PACKAGES
+= -swconfig
224 TARGET_DEVICES
+= ubnt_routerstation
226 define Device
/ubnt_routerstation-pro
227 $(Device
/ubnt_routerstation_common
)
228 DEVICE_MODEL
:= RouterStation Pro
231 UBNT_CHIP
:= ar7100pro
233 TARGET_DEVICES
+= ubnt_routerstation-pro
235 define Device
/ubnt_uk-ultra
236 $(Device
/ubnt_unifiac
)
237 DEVICE_MODEL
:= UniFi Swiss Army Knife Ultra
238 DEVICE_PACKAGES
+= rssileds
-swconfig
240 TARGET_DEVICES
+= ubnt_uk-ultra
242 define Device
/ubnt_unifi-ap
244 DEVICE_MODEL
:= UniFi AP
245 SUPPORTED_DEVICES
+= unifi ubnt
,unifi
247 TARGET_DEVICES
+= ubnt_unifi-ap
249 define Device
/ubnt_unifi-ap-lr
251 DEVICE_MODEL
:= UniFi AP
253 SUPPORTED_DEVICES
+= unifi ubnt
,unifi ubnt
,unifi-ap
255 TARGET_DEVICES
+= ubnt_unifi-ap-lr
257 define Device
/ubnt_unifiac-lite
258 $(Device
/ubnt_unifiac
)
259 DEVICE_MODEL
:= UniFi AC Lite
260 DEVICE_PACKAGES
+= -swconfig
261 SUPPORTED_DEVICES
+= unifiac-lite
263 TARGET_DEVICES
+= ubnt_unifiac-lite
265 define Device
/ubnt_unifiac-lr
266 $(Device
/ubnt_unifiac
)
267 DEVICE_MODEL
:= UniFi AC LR
268 DEVICE_PACKAGES
+= -swconfig
269 SUPPORTED_DEVICES
+= unifiac-lite ubnt
,unifiac-lite
271 TARGET_DEVICES
+= ubnt_unifiac-lr
273 define Device
/ubnt_unifiac-mesh
274 $(Device
/ubnt_unifiac
)
275 DEVICE_MODEL
:= UniFi AC Mesh
276 DEVICE_PACKAGES
+= -swconfig
277 SUPPORTED_DEVICES
+= unifiac-lite
279 TARGET_DEVICES
+= ubnt_unifiac-mesh
281 define Device
/ubnt_unifiac-mesh-pro
282 $(Device
/ubnt_unifiac
)
283 DEVICE_MODEL
:= UniFi AC Mesh Pro
284 SUPPORTED_DEVICES
+= unifiac-pro
286 TARGET_DEVICES
+= ubnt_unifiac-mesh-pro
288 define Device
/ubnt_unifiac-pro
289 $(Device
/ubnt_unifiac
)
290 DEVICE_MODEL
:= UniFi AC Pro
291 DEVICE_PACKAGES
+= kmod-usb2
292 SUPPORTED_DEVICES
+= unifiac-pro
294 TARGET_DEVICES
+= ubnt_unifiac-pro
296 define Device
/ubnt_unifi-ap-outdoor-plus
298 $(Device
/ubnt-unifi-jffs2
)
299 DEVICE_MODEL
:= UniFi AP Outdoor
+
300 SUPPORTED_DEVICES
+= unifi-outdoor-plus
302 TARGET_DEVICES
+= ubnt_unifi-ap-outdoor-plus
304 define Device
/ubnt_unifi-ap-pro
305 $(Device
/ubnt-unifi-jffs2
)
307 DEVICE_MODEL
:= UniFi AP Pro
309 SUPPORTED_DEVICES
+= uap-pro
311 TARGET_DEVICES
+= ubnt_unifi-ap-pro