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_PACKAGES
+= rssileds
32 SUPPORTED_DEVICES
+= bullet-m-xw
34 TARGET_DEVICES
+= ubnt_bullet-m-xw
36 define Device
/ubnt_edgeswitch-5xp
38 DEVICE_MODEL
:= EdgeSwitch
5XP
40 TARGET_DEVICES
+= ubnt_edgeswitch-5xp
42 define Device
/ubnt_edgeswitch-8xp
44 DEVICE_MODEL
:= EdgeSwitch
8XP
45 DEVICE_PACKAGES
+= kmod-switch-bcm53xx-mdio
47 TARGET_DEVICES
+= ubnt_edgeswitch-8xp
49 define Device
/ubnt_lap-120
51 DEVICE_MODEL
:= LiteAP ac
(LAP-120
)
52 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
54 TARGET_DEVICES
+= ubnt_lap-120
56 define Device
/ubnt_litebeam-ac-gen2
58 DEVICE_MODEL
:= LiteBeam AC
59 DEVICE_VARIANT
:= Gen2
60 DEVICE_PACKAGES
:= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
62 TARGET_DEVICES
+= ubnt_litebeam-ac-gen2
64 define Device
/ubnt_nanobeam-ac
66 DEVICE_MODEL
:= NanoBeam AC
67 DEVICE_VARIANT
:= Gen1
68 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
70 TARGET_DEVICES
+= ubnt_nanobeam-ac
72 define Device
/ubnt_nanobeam-ac-gen2
74 DEVICE_MODEL
:= NanoBeam AC
75 DEVICE_VARIANT
:= Gen2
76 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
78 TARGET_DEVICES
+= ubnt_nanobeam-ac-gen2
80 define Device
/ubnt_nanobeam-ac-xc
83 DEVICE_MODEL
:= NanoBeam AC
84 DEVICE_VARIANT
:= Gen1
(XC
)
85 DEVICE_PACKAGES
+= kmod-ath10k-ct ath10k-firmware-qca988x-ct rssileds
87 TARGET_DEVICES
+= ubnt_nanobeam-ac-xc
89 define Device
/ubnt_nanobeam-m5-xw
91 DEVICE_MODEL
:= NanoBeam M5
92 DEVICE_PACKAGES
+= rssileds
93 SUPPORTED_DEVICES
+= loco-m-xw
95 TARGET_DEVICES
+= ubnt_nanobeam-m5-xw
97 define Device
/ubnt_nanostation-ac
99 DEVICE_MODEL
:= Nanostation AC
100 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
102 TARGET_DEVICES
+= ubnt_nanostation-ac
104 define Device
/ubnt_nanostation-ac-loco
106 DEVICE_MODEL
:= Nanostation AC loco
107 DEVICE_PACKAGES
+= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
109 TARGET_DEVICES
+= ubnt_nanostation-ac-loco
111 define Device
/ubnt_nanostation-loco-m-xw
113 DEVICE_MODEL
:= Nanostation Loco M
114 DEVICE_PACKAGES
+= rssileds
115 SUPPORTED_DEVICES
+= loco-m-xw
117 TARGET_DEVICES
+= ubnt_nanostation-loco-m-xw
119 define Device
/ubnt_nanostation-m-xw
121 DEVICE_MODEL
:= Nanostation M
122 DEVICE_PACKAGES
+= rssileds
123 SUPPORTED_DEVICES
+= nanostation-m-xw
125 TARGET_DEVICES
+= ubnt_nanostation-m-xw
127 define Device
/ubnt_powerbeam-5ac-500
130 DEVICE_MODEL
:= PowerBeam
5AC
131 DEVICE_VARIANT
:= 500
132 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
134 TARGET_DEVICES
+= ubnt_powerbeam-5ac-500
136 define Device
/ubnt_powerbeam-5ac-gen2
138 DEVICE_MODEL
:= PowerBeam
5AC
139 DEVICE_VARIANT
:= Gen2
140 DEVICE_PACKAGES
:= kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct rssileds
142 TARGET_DEVICES
+= ubnt_powerbeam-5ac-gen2
144 define Device
/ubnt_powerbeam-m2-xw
146 DEVICE_MODEL
:= PowerBeam M2
147 DEVICE_PACKAGES
+= rssileds
148 SUPPORTED_DEVICES
+= loco-m-xw
150 TARGET_DEVICES
+= ubnt_powerbeam-m2-xw
152 define Device
/ubnt_powerbeam-m5-xw
154 DEVICE_MODEL
:= PowerBeam M5
155 DEVICE_PACKAGES
+= rssileds
156 SUPPORTED_DEVICES
+= loco-m-xw
158 TARGET_DEVICES
+= ubnt_powerbeam-m5-xw
160 define Device
/ubnt_rocket-5ac-lite
163 DEVICE_MODEL
:= Rocket
5AC
164 DEVICE_VARIANT
:= Lite
165 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
167 TARGET_DEVICES
+= ubnt_rocket-5ac-lite
169 define Device
/ubnt_routerstation_common
170 DEVICE_PACKAGES
:= -kmod-ath9k
-wpad-basic-wolfssl
-uboot-envtools kmod-usb-ohci \
172 DEVICE_VENDOR
:= Ubiquiti
175 IMAGES
+= factory.bin
176 IMAGE
/factory.bin
:= append-rootfs | pad-rootfs | mkubntimage | \
178 IMAGE
/sysupgrade.bin
:= append-rootfs | pad-rootfs | combined-image | \
179 check-size | append-metadata
180 KERNEL
:= kernel-bin | append-dtb | lzma | pad-to
$$(BLOCKSIZE
)
181 KERNEL_INITRAMFS
:= kernel-bin | append-dtb
184 define Device
/ubnt_routerstation
185 $(Device
/ubnt_routerstation_common
)
186 DEVICE_MODEL
:= RouterStation
190 DEVICE_PACKAGES
+= -swconfig
191 SUPPORTED_DEVICES
+= routerstation
193 TARGET_DEVICES
+= ubnt_routerstation
195 define Device
/ubnt_routerstation-pro
196 $(Device
/ubnt_routerstation_common
)
197 DEVICE_MODEL
:= RouterStation Pro
200 UBNT_CHIP
:= ar7100pro
201 SUPPORTED_DEVICES
+= routerstation-pro
203 TARGET_DEVICES
+= ubnt_routerstation-pro
205 define Device
/ubnt_unifi
207 DEVICE_MODEL
:= UniFi AP
208 SUPPORTED_DEVICES
+= unifi
210 TARGET_DEVICES
+= ubnt_unifi
212 define Device
/ubnt_unifiac
213 DEVICE_VENDOR
:= Ubiquiti
216 DEVICE_PACKAGES
:= kmod-ath10k-ct ath10k-firmware-qca988x-ct
219 define Device
/ubnt_unifiac-lite
220 $(Device
/ubnt_unifiac
)
221 DEVICE_MODEL
:= UniFi AC Lite
222 DEVICE_PACKAGES
+= -swconfig
223 SUPPORTED_DEVICES
+= unifiac-lite
225 TARGET_DEVICES
+= ubnt_unifiac-lite
227 define Device
/ubnt_unifiac-lr
228 $(Device
/ubnt_unifiac
)
229 DEVICE_MODEL
:= UniFi AC LR
230 DEVICE_PACKAGES
+= -swconfig
231 SUPPORTED_DEVICES
+= unifiac-lite ubnt
,unifiac-lite
233 TARGET_DEVICES
+= ubnt_unifiac-lr
235 define Device
/ubnt_unifiac-mesh
236 $(Device
/ubnt_unifiac
)
237 DEVICE_MODEL
:= UniFi AC Mesh
238 DEVICE_PACKAGES
+= -swconfig
239 SUPPORTED_DEVICES
+= unifiac-lite
241 TARGET_DEVICES
+= ubnt_unifiac-mesh
243 define Device
/ubnt_unifiac-mesh-pro
244 $(Device
/ubnt_unifiac
)
245 DEVICE_MODEL
:= UniFi AC Mesh Pro
246 SUPPORTED_DEVICES
+= unifiac-pro
248 TARGET_DEVICES
+= ubnt_unifiac-mesh-pro
250 define Device
/ubnt_unifiac-pro
251 $(Device
/ubnt_unifiac
)
252 DEVICE_MODEL
:= UniFi AC Pro
253 DEVICE_PACKAGES
+= kmod-usb2
254 SUPPORTED_DEVICES
+= unifiac-pro
256 TARGET_DEVICES
+= ubnt_unifiac-pro
258 define Device
/ubnt_unifi-ap-outdoor-plus
260 $(Device
/ubnt-unifi-jffs2
)
261 DEVICE_MODEL
:= UniFi AP Outdoor
+
262 SUPPORTED_DEVICES
+= unifi-outdoor-plus
264 TARGET_DEVICES
+= ubnt_unifi-ap-outdoor-plus
266 define Device
/ubnt_unifi-ap-pro
267 $(Device
/ubnt-unifi-jffs2
)
269 DEVICE_MODEL
:= UniFi AP Pro
271 SUPPORTED_DEVICES
+= uap-pro
273 TARGET_DEVICES
+= ubnt_unifi-ap-pro